... and fix compilation.

git-svn-id: trunk@65465 -
This commit is contained in:
juha 2021-07-16 20:18:26 +00:00
parent 5d1e0bb8e9
commit 22c8c554b1

View File

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