Skip to content

Fix key height being reduced by 5-row layout

clayton craft requested to merge fix_122 into master

The key row count was increased in MR !111 (merged), as a result it reduced the calculated keycap size on the keyboard, causing accessibility issues. The denominator used for calculating the keyboardHeight was chosen by comparing the calculated key height before !111 (merged) with the key height after !111 (merged).

This was tested on a pinephone w/ kmsdrm, and on my laptop with wayland and various settings for HEIGHT and WIDTH.

Fixes #122 (closed)

Keyboard on the left is before !111 (merged), keyboard on the right is with this MR:

122_compare

Edited by clayton craft

Merge request reports