From 17aa2c0231af74443732a3107f6892500b1de217 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 28 Aug 2022 13:10:57 +0200 Subject: [PATCH] ConfigMenu: Redraw the next frame after button has been pressed --- source/utils/ConfigUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/ConfigUtils.cpp b/source/utils/ConfigUtils.cpp index f3a7c4c..6d3a651 100644 --- a/source/utils/ConfigUtils.cpp +++ b/source/utils/ConfigUtils.cpp @@ -535,7 +535,7 @@ void ConfigUtils::displayMenu() { DrawUtils::print(SCREEN_WIDTH / 2 + DrawUtils::getTextWidth(exitHint) / 2, SCREEN_HEIGHT - 8, exitHint, true); DrawUtils::endDraw(); - redraw = false; + redraw = pressedButtons != WUPS_CONFIG_BUTTON_NONE; } }