Skip to content

Commit

Permalink
Fix #250
Browse files Browse the repository at this point in the history
  • Loading branch information
Equbuxu committed Dec 6, 2021
1 parent 8db203e commit c5f145e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PixiEditor/Models/Controllers/BitmapOperationsUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ private void UseTool(List<Coordinates> mouseMoveCords, BitmapOperationTool tool,

if (!tool.RequiresPreviewLayer)
{
if (!Manager.ActiveDocument.PreviewLayer.IsReset)
Manager.ActiveDocument.PreviewLayer.Reset();
tool.Use(Manager.ActiveLayer, mouseMoveCords, color);
BitmapChanged?.Invoke(this, null);
}
Expand Down

0 comments on commit c5f145e

Please sign in to comment.