diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/itempopup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index 8651ede6..b7e015a4 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -206,10 +206,10 @@ void ItemPopup::view(int x, int y) { if (windowContainer->getWidth() < (x + getWidth() + 5)) x = windowContainer->getWidth() - getWidth(); - if ((y - getHeight() - 5) < 0) + if ((y - getHeight() - 10) < 0) y = 0; else - y = y - getHeight() - 5; + y = y - getHeight() - 10; setPosition(x, y); setVisible(true); requestMoveToTop(); |