diff options
author | Ira Rice <irarice@gmail.com> | 2008-12-08 17:57:55 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-08 17:57:55 -0700 |
commit | b06085f83ecf8e801aac26546498de73b02f90fa (patch) | |
tree | 9282798e3995af3077607ca865fb0d80f35a09f9 | |
parent | 208d5a6c0523079ea1b2a2e69fd3e76804ada037 (diff) | |
download | mana-client-b06085f83ecf8e801aac26546498de73b02f90fa.tar.gz mana-client-b06085f83ecf8e801aac26546498de73b02f90fa.tar.bz2 mana-client-b06085f83ecf8e801aac26546498de73b02f90fa.tar.xz mana-client-b06085f83ecf8e801aac26546498de73b02f90fa.zip |
Small maps used to scroll as well as big maps. Fixed.
Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r-- | src/gui/minimap.cpp | 4 |
1 files 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 |