From 5392f970f970ba0d5f4642b11935e61653086aae Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 11 May 2020 13:26:16 +0200 Subject: work --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index ce99191..8869607 100644 --- a/src/ui.c +++ b/src/ui.c @@ -1777,7 +1777,7 @@ bool ui_push_button_image(button_state *state, char *title, image *img) result = true; } } - if (is_left_released(global_ui_context.mouse)) + else if (is_left_released(global_ui_context.mouse)) { state->state = 0; } -- cgit v1.2.3-70-g09d2