mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
... and fix compilation.
git-svn-id: trunk@65465 -
This commit is contained in:
parent
5d1e0bb8e9
commit
22c8c554b1
@ -1336,8 +1336,8 @@ begin
|
||||
end;
|
||||
end;
|
||||
// check that we are still in the viewarea
|
||||
X:= Max(Screen.WorkAreaLeft, Min((Screen.WorkAreaLeft+Screen.WorkAreaWidth)-RealWidth, X))
|
||||
Y:= Max(Screen.WorkAreaTop, Min((Screen.WorkAreaTop+Screen.WorkAreaHeight)-RealHeight, Y))
|
||||
X:= Max(Screen.WorkAreaLeft, Min((Screen.WorkAreaLeft+Screen.WorkAreaWidth)-RealWidth, X));
|
||||
Y:= Max(Screen.WorkAreaTop, Min((Screen.WorkAreaTop+Screen.WorkAreaHeight)-RealHeight, Y));
|
||||
end;
|
||||
end;
|
||||
// get current widgetset position
|
||||
|
Loading…
Reference in New Issue
Block a user