瀏覽代碼

exit shape edit on click outside

Johann 6 年之前
父節點
當前提交
1b21db3670
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;