1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00

Fixed autocomplete positioning code

This commit is contained in:
Brian Fiete 2020-05-25 14:56:40 -07:00
parent c69150e3bb
commit 323f984a72

View file

@ -1176,8 +1176,8 @@ namespace IDE.ui
BFApp.sApp.GetWorkspaceRect(out workspaceX, out workspaceY, out workspaceWidth, out workspaceHeight);
if (screenX + width > workspaceWidth)
screenX = workspaceWidth - width;
if (screenX < 0)
screenX = 0;
if (screenX < workspaceX)
screenX = workspaceX;
if (rootWidget == mAutoCompleteListWidget)
{