Skip to content
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

fix: only show zoom label on button interaction #151

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

henriettemoe
Copy link

When reaching the maximum zoom for "zoom in" or "zoom out" the associated button was disabled and the other received focus. The focus button then showed the label.

This PR makes sure the label only becomes visible when the user interacts with the zoom buttons, i.e. not when using mouse-wheel or pinch to zoom.

Copy link

@otacke otacke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@otacke otacke merged commit 737c4d2 into master Apr 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants