From 57e2e81708bf111aebfdd2fe5ab6bea5dc61a8d0 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 11 Sep 2022 00:08:40 +0000 Subject: [PATCH] fix column positioning in SimpleWindow --- src/kiss_flixel/SimpleWindow.kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kiss_flixel/SimpleWindow.kiss b/src/kiss_flixel/SimpleWindow.kiss index 466a661..54ecaf7 100644 --- a/src/kiss_flixel/SimpleWindow.kiss +++ b/src/kiss_flixel/SimpleWindow.kiss @@ -69,7 +69,7 @@ // TODO controls that aren't the same height as text will be able to vertically overflow (let [columnControls (controls.members.slice (if title 1 0))] (when (and columnControls (= 0 (% columnControls.length controlsPerColumn))) - (set nextControlY y) + (set nextControlY 0) (when title (+= nextControlY control.height)) (+= nextControlX (apply max (for control (last (groups columnControls controlsPerColumn))