Browse Source

win32: do not erase background

mattias 9 months ago
parent
commit
4220f08af0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/win32/fresnel.win32.pas

+ 2 - 2
src/win32/fresnel.win32.pas

@@ -424,12 +424,12 @@ end;
 
 procedure TWin32WSForm.Invalidate;
 begin
-  Windows.InvalidateRect(FWindow,nil,true);
+  Windows.InvalidateRect(FWindow,nil,false);
 end;
 
 procedure TWin32WSForm.InvalidateRect(const aRect: TFresnelRect);
 begin
-  Windows.InvalidateRect(FWindow,aRect.GetRect,true);
+  Windows.InvalidateRect(FWindow,aRect.GetRect,false);
 end;
 
 procedure TWin32WSForm.HandleMouseMsg(XPos, YPos: longint;