소스 검색

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;