Browse Source

exit shape edit on click outside

Johann 6 năm trước cách đây
mục cha
commit
1b21db3670
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      lazpaint/tools/utoolvectorial.pas

+ 2 - 1
lazpaint/tools/utoolvectorial.pas

@@ -250,7 +250,8 @@ begin
         begin
           result := OnlyRenderChange;
           UpdateOriginalMatrixFromRect;
-        end;
+        end else
+          StopEdit;
       end;
     end;
   end;