From b06085f83ecf8e801aac26546498de73b02f90fa Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 8 Dec 2008 17:57:55 -0700 Subject: Small maps used to scroll as well as big maps. Fixed. Signed-off-by: Ira Rice --- src/gui/minimap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 578e2ce6..6fbcd5da 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -57,9 +57,9 @@ void Minimap::setMapImage(Image *img) mMapImage->setAlpha(0.7); setDefaultSize(offsetX, offsetY, mMapImage->getWidth() < (100 + offsetX) ? - mMapImage->getWidth() : (100 + offsetX), + mMapImage->getWidth() + offsetX : (100 + offsetX), mMapImage->getHeight() < (100 + offsetY) ? - mMapImage->getHeight() : (100 + offsetY)); + mMapImage->getHeight() + offsetY : (100 + offsetY)); loadWindowState(); } else -- cgit v1.2.3-70-g09d2