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:
parent
fa0745f7da
commit
aac616fcc5
2 changed files with 15 additions and 12 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue