mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 11:19:58 +00:00
Push more widget painting code into ui::Painter
Hide knowledge of damage tracking strategy.
This commit is contained in:
@@ -266,10 +266,7 @@ private:
|
||||
}
|
||||
|
||||
void handle_lcd_frame_sync() {
|
||||
if( ui::is_dirty() ) {
|
||||
painter.paint_widget(top_widget);
|
||||
ui::dirty_clear();
|
||||
}
|
||||
painter.paint_widget_tree(top_widget);
|
||||
}
|
||||
|
||||
void handle_sd_card_detect() {
|
||||
|
Reference in New Issue
Block a user