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

Avoid visible camera jumps because of touchscreen_threshold

This commit is contained in:
Gregor Parzefall 2024-01-29 18:38:03 +01:00 committed by grorp
parent fa0745f7da
commit aac616fcc5
2 changed files with 15 additions and 12 deletions

View file

@ -295,6 +295,8 @@ private:
// apply joystick status
void applyJoystickStatus();
// map to store the IDs and original positions of currently pressed pointers
std::unordered_map<size_t, v2s32> m_pointer_downpos;
// map to store the IDs and positions of currently pressed pointers
std::unordered_map<size_t, v2s32> m_pointer_pos;