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.
This commit is contained in:
parent
9f7fbb60c3
commit
bae4956ea6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue