Skip to content

Commit

Permalink
Fix highlight getting stuck when using readonly tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Equbuxu committed Dec 7, 2021
1 parent 307460c commit 1e5c9cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PixiEditor/Models/Controllers/BitmapManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public void ExecuteTool(Coordinates newPosition, bool clickedOnCanvas)
}
else if (activeTool is ReadonlyTool readonlyTool)
{
ActiveDocument.PreviewLayer.Reset();
ReadonlyToolUtility.ExecuteTool(
MouseController.LastMouseMoveCoordinates,
readonlyTool);
Expand Down

0 comments on commit 1e5c9cd

Please sign in to comment.