Skip to content

fix: prevent zooming out when horizontal wheel is rotated#32

Open
tokoro10g wants to merge 1 commit intoretejs:mainfrom
tokoro10g:fix-wheel-zoom
Open

fix: prevent zooming out when horizontal wheel is rotated#32
tokoro10g wants to merge 1 commit intoretejs:mainfrom
tokoro10g:fix-wheel-zoom

Conversation

@tokoro10g
Copy link

Description

This PR prevents the view from zooming out when the wheel event deltaY is 0.
Previously, using a horizontal mouse wheel would incorrectly trigger a zoom-out action.

Related Issues

Checklist

Additional Notes

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.

1 participant