-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Show magnifier on touch drag gestures #125151
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
Conversation
110dd20
to
b948fcf
Compare
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.
LGTM 👍
I'm not sure how we missed this when the magnifier was first implemented. Thanks for fixing it. It's probably pretty obvious, especially on iOS.
case TargetPlatform.macOS: | ||
case TargetPlatform.windows: | ||
break; | ||
} |
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.
Good call abstracting all of this.
#125151 introduced the magnifier on touch drag gestures, but when showing the magnifier the toolbar is implicitly hidden, this change makes the toolbar re-appear on drag end for double tap + drag.
This change shows the magnifier on touch drag gestures for Android and iOS and hides it when the drag ends.
Screen.Recording.2023-04-19.at.5.14.25.PM.mov
Fixes #118268
Pre-launch Checklist
///
).