You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
touch input is relative and is allowed to move off screen, this way increasing the delta that gets computed in panToMouse()
physical mouse input can by definition not move off screen as it's absolute, so the delta is always 5, which is way too slow.
Possible Solutions
Increase the hardcoded delta? (but touch relative input will be faster, too fast?)
Disallow relative/touch input to go offscreen? Would be here. This would make pan speed the same for relative and absolute input. But actually, higher pan speed by higher touch/relative fling speed is a feature which makes the app feel snappier.
Somehow set a flag for absolute input and make pan speed higher depending on that?
The text was updated successfully, but these errors were encountered:
Problem statement
Both input ways use panToMouse() but:
panToMouse()
Possible Solutions
The text was updated successfully, but these errors were encountered: