fix to GUI toggle with keyboard+touch inconsistency

This commit is contained in:
Jonathan Bosson
2017-05-17 11:10:55 -06:00
parent 63c02a72ae
commit 22dd7f2fb0
2 changed files with 3 additions and 2 deletions

View File

@@ -669,6 +669,7 @@ void TouchInteraction::decelerate() {
void TouchInteraction::resetAfterInput() {
ghoul_postcondition(_selected.empty(), "Selected list must be empty after reset");
_lmSuccess = true;
_guiON = OnScreenGUIModule::gui.isEnabled();
//_directTouchMode = false;
if (_directTouchMode && _selected.size() > 0) {
double spinDelta = _spinSensitivity / OsEng.windowWrapper().averageDeltaTime();