Browse Source

Fix highlight being displayed in the top left corner

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

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

@@ -126,7 +126,7 @@ namespace PixiEditor.Models.Controllers
             }
             }
 
 
             ActiveDocument.PreviewLayer.Reset();
             ActiveDocument.PreviewLayer.Reset();
-            HighlightPixels(MousePositionConverter.CurrentCoordinates);
+            HighlightPixels(ToolSessionController.LastPixelPosition);
             StopUsingTool?.Invoke(this, EventArgs.Empty);
             StopUsingTool?.Invoke(this, EventArgs.Empty);
         }
         }