abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/KeyEventHandler.java
diff options
context:
space:
mode:
authorJules Aguillon2022-01-15 20:24:27 +0100
committerJules Aguillon2022-01-15 20:24:27 +0100
commit833dfa31bb17e5fa14681f15969391ecc7a28014 (patch)
treeaf89b415c00864a270a9d8ff231d20024f081b16 /srcs/juloo.keyboard2/KeyEventHandler.java
parentfa9250a89e657082c505f0fafdcd38f00df94be1 (diff)
downloadunexpected-keyboard-833dfa31bb17e5fa14681f15969391ecc7a28014.tar.gz
unexpected-keyboard-833dfa31bb17e5fa14681f15969391ecc7a28014.zip
Fix miscalculation of the space between the keys
'keyVerticalInterval' was mistakenly used to compute the height of the keyboard and the vertical position of keys. While the code handling pointers did not use this value, the hit box of the bottom row was shifted by several pixels. Make sure 'keyVerticalInterval' is only used for rendering and not for placing the keys.
Diffstat (limited to 'srcs/juloo.keyboard2/KeyEventHandler.java')
0 files changed, 0 insertions, 0 deletions