From 50a3c0f5bc7eae044f3df07b1d119e94abce6619 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 27 Jul 2024 00:47:31 +0200 Subject: [PATCH] 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. --- srcs/juloo.keyboard2/KeyboardData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/juloo.keyboard2/KeyboardData.java b/srcs/juloo.keyboard2/KeyboardData.java index fdcf512..f1f43d7 100644 --- a/srcs/juloo.keyboard2/KeyboardData.java +++ b/srcs/juloo.keyboard2/KeyboardData.java @@ -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;