ekolis/stars-nova

Mouse wheel map zoom should zoom toward the cursor

Opened this issue · 2 comments

Describe the feature you'd like to see
When zooming the map using the mouse wheel, the zoom effect should be focused on the cursor.

Benefits
It's more intuitive IMO.

Describe alternatives
Maybe we should make it an option. Do we have an options dialog yet?

Additional context
There is code in the Event Horizon GUI to do this. Not sure what the implications are of incorporating that code into a GPL project, though... can we dual license it? Does EH even have a license yet?

maybe have center click as a "re-center here" while we're at it?

Stars had several ways to change the map centering that aren't working though. all of the Go To buttons would re-center on that object if it had a map location. The planet and fleet list screen would go to the planet or fleet if you double clicked it IIRC.

next/previous should re-center the map when used, but don't.