-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board momentum after dragging #23
Comments
It does! But only when using |
They sent me to work on it 🔥(that's how you know your suggestion will never occur, it took me 10 hours to make a glitchy version 😭) |
Well nevermind I finished it and it works pretty well |
This is now a feature on desktop! I won't close yet as it isn't applied to mobile devices that don't support a mouse, but an idea I have for getting it to work is: Whenever you drag the board, whether it's by the mouse or by your finger, the boards position changes, right? Well if we just record the recent history of the board position, we can pull its velocity directly out of that! We constantly update its velocity while it's being dragged, and even though it's snapped to the mouse/finger, once you release it that velocity will take over! |
I noticed that board navigation has momentum while zooming in/out but not when moving side-to-side/up-and-down. Should the board also have translational momentum?
(By "momentum" I mean that it continues to move after the user has stopped interacting and gently slows down until it comes to a halt.)
The text was updated successfully, but these errors were encountered: