C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
34 stars 9 forks source link

Set the initial zoom on the slider to 1.0, rather than 0.3 #302

Closed QuintillusCFC closed 2 years ago

QuintillusCFC commented 2 years ago

This fixes the initial zoom-out (or zoom-in) so zooming out takes you to a 0.9 zoom level instead of a 0.2 zoom level (and 1.1 instead of 0.4 for zooming in).

Longer term, we probably shouldn't store this on a component that isn't going to be here long term, but it's still the only way to get back to the main menu, so for now I'm okay with a quick fix here and a refactor when we remove the component later.

Closes #301

QuintillusCFC commented 2 years ago

We've hit the 7 day limit, the one-liner still looks sensible and no complaints on the release, so I'm merging and moving to Released.