From bae4956ea6546bb3e08c70abc89222dc18049efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Degerf=C3=A4lt?= Date: Wed, 17 Jul 2019 11:53:56 +0200 Subject: [PATCH] Flush screen buffer to the display in adjust menu The return value (that flagged for redraw) was ignored when handling input in the adjust menu. --- NuEVI/adjustmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NuEVI/adjustmenu.cpp b/NuEVI/adjustmenu.cpp index 23ceb6d..26e93fa 100644 --- a/NuEVI/adjustmenu.cpp +++ b/NuEVI/adjustmenu.cpp @@ -346,9 +346,9 @@ int updateAdjustMenu(uint32_t timeNow, KeyState &input, bool firstRun, bool draw currentMenu->saveFunc(*currentMenu); } else if( adjustCurrent == 1) { - handleInput(currentMenu, timeNow, buttons, &pos1, 20, 0); + redraw |= handleInput(currentMenu, timeNow, buttons, &pos1, 20, 0); } else { - handleInput(currentMenu, timeNow, buttons, &pos2, 50, 1); + redraw |= handleInput(currentMenu, timeNow, buttons, &pos2, 50, 1); } // Keep adjustCurrent in range