Explorar o código

record color change

Johann %!s(int64=6) %!d(string=hai) anos
pai
achega
e1366c4b9b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lazpaint/tools/utoolvectorial.pas

+ 2 - 0
lazpaint/tools/utoolvectorial.pas

@@ -215,6 +215,7 @@ begin
   if IsVectorOriginal then
   with GetVectorOriginal do
   begin
+    BindOriginalEvent(true);
     if Assigned(SelectedShape) then
     begin
       if (vsfBackFill in SelectedShape.Fields) and (SelectedShape.BackFill.FillType = vftGradient) then
@@ -273,6 +274,7 @@ begin
         end;
       end;
     end;
+    BindOriginalEvent(false);
   end;
   Result := EmptyRect;
 end;