1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Touchscreen: Abort ongoing short taps if touch interaction mode changes (#14305)

This commit is contained in:
grorp 2024-01-26 23:19:06 +01:00 committed by GitHub
parent df9975f35d
commit 2b99dabdac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -314,6 +314,7 @@ private:
v2s32 getPointerPos();
void emitMouseEvent(EMOUSE_INPUT_EVENT type);
TouchInteractionMode m_last_mode = TouchInteractionMode_END;
TapState m_tap_state = TapState::None;
bool m_dig_pressed = false;