mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-17 17:22:21 +00:00
Prevent AISAppView painting.
View is always filled with children, no need to clear background before painting children.
This commit is contained in:
@@ -131,6 +131,10 @@ public:
|
||||
|
||||
void set_parent_rect(const Rect new_parent_rect) override;
|
||||
|
||||
// Prevent painting of region covered entirely by a child.
|
||||
// TODO: Add flag to View that specifies view does not need to be cleared before painting.
|
||||
void paint(Painter&) override { };
|
||||
|
||||
private:
|
||||
AISRecentEntries recent;
|
||||
AISLogger logger;
|
||||
|
Reference in New Issue
Block a user