Merge pull request #26 from blind/adjustbugfix
Flush screen buffer to display in adjust menu (issue #24)
This commit is contained in:
commit
e251b86100
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);
|
currentMenu->saveFunc(*currentMenu);
|
||||||
|
|
||||||
} else if( adjustCurrent == 1) {
|
} else if( adjustCurrent == 1) {
|
||||||
handleInput(currentMenu, timeNow, buttons, &pos1, 20, 0);
|
redraw |= handleInput(currentMenu, timeNow, buttons, &pos1, 20, 0);
|
||||||
} else {
|
} else {
|
||||||
handleInput(currentMenu, timeNow, buttons, &pos2, 50, 1);
|
redraw |= handleInput(currentMenu, timeNow, buttons, &pos2, 50, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Keep adjustCurrent in range
|
// Keep adjustCurrent in range
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue