Browse Source

Fix highlight getting stuck when using readonly tools

Equbuxu 3 years ago
parent
commit
1e5c9cd5f8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      PixiEditor/Models/Controllers/BitmapManager.cs

+ 1 - 0
PixiEditor/Models/Controllers/BitmapManager.cs

@@ -130,6 +130,7 @@ namespace PixiEditor.Models.Controllers
             }
             else if (activeTool is ReadonlyTool readonlyTool)
             {
+                ActiveDocument.PreviewLayer.Reset();
                 ReadonlyToolUtility.ExecuteTool(
                     MouseController.LastMouseMoveCoordinates,
                     readonlyTool);