mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 17:19:29 +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;
|
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:
|
private:
|
||||||
AISRecentEntries recent;
|
AISRecentEntries recent;
|
||||||
AISLogger logger;
|
AISLogger logger;
|
||||||
|
|||||||
Reference in New Issue
Block a user