1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

haptic feedback only if menu opens

fix
This commit is contained in:
Michael
2023-07-14 22:49:44 +02:00
committed by GitHub
parent c6e860720e
commit bea6effcb7

View File

@@ -225,8 +225,10 @@ void InputSourceTouch::handleUpdate()
GH.events().dispatchShowPopup(GH.getCursorPosition());
if (GH.windows().isTopWindowPopup())
{
hapticFeedback();
state = TouchState::TAP_DOWN_LONG;
}
}
}
}