Fix scaling for layouts with few columns

This was causing a slight padding on the right of 4 columns layouts,
which turned into a large padding when the number row was added.
This commit is contained in:
Jules Aguillon 2024-07-27 00:47:31 +02:00
parent d8fc4e80e3
commit 50a3c0f5bc

View File

@ -415,7 +415,7 @@ public final class KeyboardData
keys = ks;
anticircle = antic;
keysflags = f;
width = Math.max(w, 0.5f);
width = Math.max(w, 0f);
shift = Math.max(s, 0f);
slider = sl;
indication = i;