From 074ca287804a56f776d641826b1ecfc1454b6c72 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sat, 7 Feb 2009 10:05:16 -0700 Subject: 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 --- src/gui/itempopup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2