Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix] Corrected zooming in/out command handler
If you bind zoom in/out commands to keys and then try to use zoom, you will find that zooming works incorrectly. Game would switch 2 zoomsteps per 1 keypress. It happens because the handler changes zoomstep twice: when you press the key and when you release it. Fix makes zoomstep changing only when key is pressed, not released.
- Loading branch information