summaryrefslogtreecommitdiff
path: root/src/input/touch
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-10 01:11:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-10 01:11:39 +0300
commit7fd1401d915ee91c808695ca1f3647ca7a258a1f (patch)
treed1aa0867879ea2ebb3ecd2910ef02ce09cb764d0 /src/input/touch
parent481ea0b776bbab92b500540f59c5a191c6e93cba (diff)
downloadmv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.gz
mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.bz2
mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.xz
mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.zip
Allow trigger input action on key press or/and release.
By default all actions triggered on press key.
Diffstat (limited to 'src/input/touch')
-rw-r--r--src/input/touch/touchactions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/touch/touchactions.cpp b/src/input/touch/touchactions.cpp
index ae79dd182..f1f8e4676 100644
--- a/src/input/touch/touchactions.cpp
+++ b/src/input/touch/touchactions.cpp
@@ -98,7 +98,7 @@ static void moveChar(int x, int y)
touchManager.setActionActive(InputAction::MOVE_DOWN, false);
touchManager.setActionActive(InputAction::MOVE_UP, false);
}
- inputManager.updateConditionMask();
+ inputManager.updateConditionMask(true);
}
impHandler(padClick)