diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-07 10:05:16 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-07 10:05:16 -0700 |
commit | 074ca287804a56f776d641826b1ecfc1454b6c72 (patch) | |
tree | 8d66057ce45173d5648d5e69ad0716007ed008c2 | |
parent | 876f55d0624008a87f0ee6cc2e40895a4fe9f90b (diff) | |
download | mana-074ca287804a56f776d641826b1ecfc1454b6c72.tar.gz mana-074ca287804a56f776d641826b1ecfc1454b6c72.tar.bz2 mana-074ca287804a56f776d641826b1ecfc1454b6c72.tar.xz mana-074ca287804a56f776d641826b1ecfc1454b6c72.zip |
Small tweak to item popup locations based on some feedback that they
were a tad too close to the mouse.
Signed-off-by: Ira Rice <irarice@gmail.com>
-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(); |