mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
Cocoa: fix IME popup window pos on Multi Displays
This commit is contained in:
parent
7f7a01a35b
commit
a4863bb0e3
@ -1144,11 +1144,7 @@ begin
|
||||
params.isFirstCall:= not hasMarkedText();
|
||||
|
||||
rect:= imeHandler.IMEGetTextBound( params );
|
||||
|
||||
if isFlipped then
|
||||
Result:= RectToNSRect( rect )
|
||||
else
|
||||
LCLToNSRect( rect, NSScreen.mainScreen.frame.size.height, Result );
|
||||
LCLToNSRect( rect, NSGlobalScreenHeight, Result );
|
||||
end;
|
||||
|
||||
procedure TCocoaFullControlEdit.unmarkText;
|
||||
|
Loading…
Reference in New Issue
Block a user