mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 20:00:20 +02:00
Cocoa: added cocoa workaround until cocoa StretchBlt is fixed.
This commit is contained in:
parent
9b147ce82b
commit
c8df21aee3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user