Explorar o código

fix render update of selection

Johann ELSASS %!s(int64=5) %!d(string=hai) anos
pai
achega
7f5fd8b03a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lazpaint/uimageview.pas

+ 1 - 1
lazpaint/uimageview.pas

@@ -202,7 +202,7 @@ procedure TImageView.SetShowSelection(AValue: boolean);
 begin
   if FShowSelection=AValue then Exit;
   FShowSelection:=AValue;
-  Image.RenderMayChange(rect(0,0,Image.Width,Image.Height));
+  Image.RenderMayChange(rect(0,0,Image.Width,Image.Height), true);
 end;
 
 function TImageView.GetPictureCoordsDefined: boolean;