mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-22 13:41:14 +01:00
37a2a2fbad
A combination of factors caused inconsistent button movements when using the arrow buttons to move it, namely floating point approximation and the round down performed when snapping a button to the grid. Sometimes the layman solution is the best one: adding/subtracting one to the move amount depending on the direction ensures that the button always ends up on a grid line.