diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-09 17:38:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-09 22:46:35 +0300 |
commit | bd88033a7d721102544c21d449a541ceb3bcc285 (patch) | |
tree | a8008a805f184a3e93c9c06634a91eecd8f9a4ed /src/gui/viewport.h | |
parent | eb6304c769c6a898d35d7d971ddd35307fef8a1a (diff) | |
download | mv-bd88033a7d721102544c21d449a541ceb3bcc285.tar.gz mv-bd88033a7d721102544c21d449a541ceb3bcc285.tar.bz2 mv-bd88033a7d721102544c21d449a541ceb3bcc285.tar.xz mv-bd88033a7d721102544c21d449a541ceb3bcc285.zip |
fix movement with long press enabled.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 4f7ce5727..61fee37f8 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -326,6 +326,8 @@ class Viewport final : public WindowContainer, int mScrollCenterOffsetY; int mMouseX; /**< Current mouse position in pixels. */ int mMouseY; /**< Current mouse position in pixels. */ + int mMousePressX; + int mMousePressY; int mPixelViewX; /**< Current viewpoint in pixels. */ int mPixelViewY; /**< Current viewpoint in pixels. */ int mShowDebugPath; /**< Show a path from player to pointer. */ |