From 3477b9b33b6b5f8a08db5706b3435e9a68467610 Mon Sep 17 00:00:00 2001 From: Patrick Jakobsen Date: Mon, 25 Sep 2023 17:53:57 +0200 Subject: [PATCH] . --- gui/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/gui.c b/gui/gui.c index 8960562..d117c1a 100644 --- a/gui/gui.c +++ b/gui/gui.c @@ -794,9 +794,9 @@ bool gui_slider( context->focused_node.node = NULL; } - int last_frame_width = node->computed_size[GUI_AXIS2_X]; if(gui_node_references_equal(new_reference, context->focused_node)) { + int last_frame_width = node->computed_size[GUI_AXIS2_X]; if(last_frame_width == 0) { DEBUG(