mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-22 22:27:12 +01:00

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.