mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +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…
Reference in New Issue
Block a user