From 9d882886ecc96a94d9934a56190ce87ec95b2913 Mon Sep 17 00:00:00 2001 From: bluepython508 <16466646+bluepython508@users.noreply.github.com> Date: Thu, 12 Feb 2026 16:06:14 +0000 Subject: [PATCH] Truncate heights so we aren't using fractional pixels in layout --- main.janet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.janet b/main.janet index f6f02a5..26d1cf8 100644 --- a/main.janet +++ b/main.janet @@ -313,7 +313,7 @@ (defn layout/rows [n x y w h] (if (> n 0) (do - (def height (/ h n)) + (def height (math/trunc (/ h n))) (defn rows [n] (if (= n 0) [] (let [Y (- (+ y h) (* n height))] (tuple/join [[x Y w height]]