mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Make sure drop shadow doesn't go off edge of screen
This commit is contained in:
parent
b220599ec7
commit
012f093d26
1 changed files with 1 additions and 1 deletions
|
@ -1227,7 +1227,7 @@ namespace IDE.ui
|
|||
float popupY = listView.mRequestPos.Value.y;
|
||||
|
||||
int screenX = (int)popupX + (int)mOrigScreenX;
|
||||
int maxWidth = workspaceWidth - screenX;
|
||||
int maxWidth = workspaceWidth - screenX - GS!(8);
|
||||
if (mTextPanel != null)
|
||||
{
|
||||
maxWidth = Math.Min(maxWidth, mTextPanel.mWidgetWindow.mWindowWidth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue