Merge pull request #27 from blind/subblink

Flush screen buffer when sub cursor is black
This commit is contained in:
Johan Berglund 2019-07-17 12:23:12 +02:00 committed by GitHub
commit 8159a4ec16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -254,6 +254,7 @@ static bool updateSubMenuCursor(const MenuPage *page, uint32_t timeNow)
if (cursorNow == WHITE) {
cursorNow = BLACK;
clearSubValue();
return true;
} else {
cursorNow = WHITE;
return drawSubMenu(page);