-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hello,
first of all, thank you very much for your crate. I'm trying to use it on hardware with rgb565 display. I'm using your examples for inspiration. I'm using theme support for color menu (not being able to get bicolor display working on the hardware), but I have strange issue with it. It looks like only selected menu item is constantly redrawn (which is correct and nice) but when movement happen, the code does not correctly redraw previous selection to the background/text colors but leaves it there. This creates an artifact of selection growing bigger and bigger how you move down thorough the menu items. The only solution for now for me is to insert display.clear(...) in between calls menu update and menu draw:
menu.update(display);
display.clear(Rgb565::WHITE);
menu.draw(display).unwrap();
unfortunately due to machine and LCD speed, this creates kind of "flashing" menu and is not looking too nice.
Any idea how to fix this behavior is highly appreciated!