mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 08:09:26 +02:00
Cocoa: fix typos
This commit is contained in:
parent
6e6941f2f0
commit
aeb8dbd099
@ -492,11 +492,11 @@ begin
|
||||
PtInClient.x := Round({PtInBounds.x - }pt.x - cr.Left);
|
||||
PtInClient.y := Round({PtInBounds.y - }pt.y - cr.Top);
|
||||
|
||||
// child ctrls need not LayoutDelta,
|
||||
// child ctrls need not LayoutDelta
|
||||
cr := NSView(Owner).lclGetFrameToLayoutDelta;
|
||||
PtForChildCtrls := PtInClient;
|
||||
PtForChildCtrls.X := PtForChildCtrls.X + cr.Left;
|
||||
PtForChildCtrls.Y := PtForChildCtrls.Y + cr.Top;
|
||||
PtForChildCtrls.x := PtForChildCtrls.x + cr.Left;
|
||||
PtForChildCtrls.y := PtForChildCtrls.y + cr.Top;
|
||||
|
||||
es := NSView(Owner).enclosingScrollView;
|
||||
if Assigned(es) and (es.documentView = NSView(Owner)) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user