-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
multi(gestures): add keyTriggerClickRotate
gesture, fix keyTriggerDragRotate
gesture
#1810
base: gesture-handling
Are you sure you want to change the base?
multi(gestures): add keyTriggerClickRotate
gesture, fix keyTriggerDragRotate
gesture
#1810
Conversation
Can you elaborate here? If the trigger key is held, there should be no other gestures or |
Not sure if I should call this a feature or a limitation of the new implementation... What do you think? Do you want to have some workaround code to have no delay at all? |
keyTriggerClickRotate
gesture, fix keyTriggerDragRotate
gesture
Added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could disable the double tap callbacks while the triggerKey is pressed, however this would require an additional widget rebuild
I don't know, but this can't be too much of an issue. We're constantly doing this all the time (as far as I understand, if you mean setState).
Do you want to have some workaround code to have no delay at all?
Yes, as above. This delay makes the controls feel sluggish - gestures should give instant feedback, otherwise the user may attempt to perform them again.
Issues:
(2) Cursor keyboard rotation also no longer sets rotation to the angle of cursor immediately when clicking.
2024-01-22.20-38-47.mp4
(1) One bug with cursor keyboard rotation. Rotation is not tracking the cursor properly. I remember having a similar issue when implementing the algorithm initially. Maybe double checking that nothing in the implementaiton itself has changed, and every variable is being changed/reset at the correct points.
keyTriggerClickRotate
gesture to the gesture rewrite.