mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 03:37:37 +01:00
cocoa: not flipping NSRect vertical coordinates if the super view is already flipped. Came as a part of a patch by David Jenkins for #32828. However, being applied to resolve #32176
git-svn-id: trunk@56759 -
This commit is contained in:
parent
019a0dc40b
commit
139b008b0f
@ -2599,7 +2599,7 @@ var
|
||||
svHeight: CGFloat;
|
||||
begin
|
||||
svHeight := GetNSViewSuperViewHeight(Self);
|
||||
if Assigned(superview) then
|
||||
if Assigned(superview) and not superview.isFlipped then
|
||||
begin
|
||||
LCLToNSRect(r, svHeight, ns)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user