summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-05-03 15:05:01 +0200
committerneoraider <devnull@localhost>2008-05-03 15:05:01 +0200
commit1d6f52984dfef698516ae3fef142c80c2029fc7b (patch)
tree079f955dc1605d1f9b8426b5e178e42b03d0fbf5 /src/Gui
parenteb096e97d63c3bdbb2913dc0bb8abacef5ee3bf1 (diff)
downloadzoomedit-1d6f52984dfef698516ae3fef142c80c2029fc7b.tar
zoomedit-1d6f52984dfef698516ae3fef142c80c2029fc7b.zip
zoomedit:
* Some MapView improvements
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/RenderArea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Gui/RenderArea.cpp b/src/Gui/RenderArea.cpp
index 2611102..b6686f5 100644
--- a/src/Gui/RenderArea.cpp
+++ b/src/Gui/RenderArea.cpp
@@ -149,8 +149,8 @@ bool RenderArea::onMotionNotifyEvent(GdkEventMotion *event) {
return true;
}
- if(event->state & GDK_BUTTON3_MASK && view)
- view->move(this, xHover - event->x, yHover - event->y);
+ if(view)
+ view->move(this, xHover - event->x, yHover - event->y, event->state);
xHover = event->x;
yHover = event->y;