Browse Source

fix render update of selection

Johann ELSASS 5 years ago
parent
commit
7f5fd8b03a
1 changed files with 1 additions and 1 deletions
  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;