mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
haptic feedback only if menu opens
fix
This commit is contained in:
parent
c6e860720e
commit
bea6effcb7
@ -225,8 +225,10 @@ void InputSourceTouch::handleUpdate()
|
||||
GH.events().dispatchShowPopup(GH.getCursorPosition());
|
||||
|
||||
if (GH.windows().isTopWindowPopup())
|
||||
{
|
||||
hapticFeedback();
|
||||
state = TouchState::TAP_DOWN_LONG;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user