ekolis / stars-nova

Clone of the classic 4X game Stars!. Fork of original svn repo on SourceForge.
Other
17 stars 6 forks source link

Mouse wheel map zoom should zoom toward the cursor #17

Open ekolis opened 4 years ago

ekolis commented 4 years ago

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?

marhawkman commented 4 years ago

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.

marhawkman commented 4 years ago

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