Browse Source

Fixed select tool preview

flabbet 3 years ago
parent
commit
6ecd735713
1 changed files with 2 additions and 0 deletions
  1. 2 0
      PixiEditor/Models/Tools/Tools/SelectTool.cs

+ 2 - 0
PixiEditor/Models/Tools/Tools/SelectTool.cs

@@ -103,6 +103,8 @@ namespace PixiEditor.Models.Tools.Tools
         {
         {
             IEnumerable<Coordinates> selection;
             IEnumerable<Coordinates> selection;
 
 
+            BitmapManager.ActiveDocument.ActiveSelection.SetSelection(oldSelectedPoints, SelectionType.New);
+
             if (shape == SelectionShape.Circle)
             if (shape == SelectionShape.Circle)
             {
             {
                 selection = GetCircleSelectionForPoints(pixels[^1], pixels[0]);
                 selection = GetCircleSelectionForPoints(pixels[^1], pixels[0]);