Cocoa: added cocoa workaround until cocoa StretchBlt is fixed.

This commit is contained in:
zeljan1 2025-01-02 13:31:14 +01:00
parent 9b147ce82b
commit c8df21aee3

View File

@ -3448,7 +3448,7 @@ begin
R := FClientRect;
R.Right := Round(R.Right * AScale);
R.Bottom := Round(R.Bottom * AScale);
TargetCanvas.CopyRect(R, PaintBuffer, R);
TargetCanvas.CopyRect({$IFDEF LCLCocoa}FClientRect{$ELSE}R{$ENDIF}, PaintBuffer, R);
FClientRect := R;
end
else