ijprest / keyboard-layout-editor

Web application to enable the design & editing of keyboard layouts
http://www.keyboard-layout-editor.com/
Other
1.3k stars 241 forks source link

Cannot use 0.125 as step size #271

Open MarkJeronimus opened 4 years ago

MarkJeronimus commented 4 years ago

When you set step size to 0.125, the step size is remembered in full accuracy, but when you move keys on the keyboard, the coordinates are rounded to the nearest two decimal places.

Because of this, using the keyboard to move the keys left subtracts 0.12 but moving right adds 0.13. Repeatedly alternating between left and right causes the key to wander.

ellisgl commented 4 years ago

https://github.com/ijprest/keyboard-layout-editor/pull/273