bvschaik / julius

An open source re-implementation of Caesar III
GNU Affero General Public License v3.0
2.83k stars 316 forks source link

Disable mouse wheel zoom #656

Closed hankyuller closed 2 years ago

hankyuller commented 2 years ago

It's easy to unwillingly zoom in or out while dragging the map with right mouse button.

crudelios commented 2 years ago

You don't want this PR here, but on Keriew/augustus instead. Please open the PR there. Thanks!

hankyuller commented 2 years ago

I understand, please do it for me as my old computer can't even handle this website, thanks !

crudelios commented 2 years ago

I believe you didn't add any code to do it, you only requested it, right?

Then no PR is needed.

Maybe zoom could be disabled only when right-click scrolling, what do you think?

hankyuller commented 2 years ago

I believe you didn't add any code to do it, you only requested it, right?

Right

Then no PR is needed.

Ok, post an issue then ?

Maybe zoom could be disabled only when right-click scrolling, what do you think?

It would only help a little as you can still zoom in or out while reaching for the right button, this is all because of the apple magic mouse really. There used to be that exact option "disable mouse wheel zooming" but it was removed in recent versions.

crudelios commented 2 years ago

Actually it was "disable zoom" entirely. I think it zooming should be added as a hotkey, but it being a mouse system (not a keyboard press), it would require a major rework of the engine.

I'll move this to the proper place to stop polluting Julius with Augustus stuff.

hankyuller commented 2 years ago

Thanks !