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; keys = ks;
anticircle = antic; anticircle = antic;
keysflags = f; keysflags = f;
width = Math.max(w, 0.5f); width = Math.max(w, 0f);
shift = Math.max(s, 0f); shift = Math.max(s, 0f);
slider = sl; slider = sl;
indication = i; indication = i;