Browse Source

update toolbar when selecting shape

circular 6 years ago
parent
commit
794fc31396
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lazpaint/tools/utoolvectorial.pas

+ 2 - 0
lazpaint/tools/utoolvectorial.pas

@@ -1132,7 +1132,9 @@ begin
       esmShape, esmNoShape:
         begin
           m := AffineMatrixInverse(Manager.Image.LayerOriginalMatrix[Manager.Image.CurrentLayerIndex]);
+          BindOriginalEvent(true);
           GetVectorOriginal.MouseClick(m*FLastPos);
+          BindOriginalEvent(false);
           if Assigned(GetVectorOriginal.SelectedShape) then handled := true;
         end;
       esmGradient: