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

Map Zooming is broken when scrolling with inertia (trackpads) #1635

Open
creamcast opened this issue Sep 7, 2023 · 0 comments
Open

Map Zooming is broken when scrolling with inertia (trackpads) #1635

creamcast opened this issue Sep 7, 2023 · 0 comments

Comments

@creamcast
Copy link

creamcast commented Sep 7, 2023

Describe the bug
when trying to zoom the map with a trackpad the map snaps back to the furthest immeditely after trying to zoom in. Sometimes the zooming will stick usually by right clicking at the right moment but it is very frustrating to get it at the right zoom level this way.

To Reproduce
Steps to reproduce the behavior:

  1. Plug in trackpad with natural scrolling
  2. zoom map

Expected behavior
Map should zoom properly or have a seperate hot key to zoom in/out

Shard
UoALive

Information (please complete the following information):

  • OS:Win10
  • ClassicUO Version: Release Version

Additional context
Someone was having the same problem (https://www.uorforum.com/threads/world-map-uo-classic.52376/) and they said they bought a new mouse and it started working. Perhaps it does not work with some setups I am on a laptop using a trackpad.

Edit: So i tested it out on another computer which has an external trackpad and it too had the same zooming problem. Then I got my hands on a mouse with an actual scroller wheel and tried it, this time it would zoom in/out correctly. So I'm guessing the inertia from the trackpad scrolling input is unsupported and causes it to zoom out all the way.

Edit2: If I emulate the scroll wheel with a tool like https://github.com/ykon/w10wheel.net and turn on "Real Wheel mode" the map zooms correctly. Inertia caused by trackpad scrolling makes it zoom out all the way every time.

@creamcast creamcast changed the title Map Zooming is broken with some mice/trackpads Map Zooming is broken when scrolling with inertia (trackpads) Sep 8, 2023
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

No branches or pull requests

1 participant