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:
dmitry 2017-12-16 22:59:17 +00:00
parent 019a0dc40b
commit 139b008b0f

View File

@ -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