mirror of
				https://github.com/portapack-mayhem/mayhem-firmware.git
				synced 2025-11-03 20:17:15 +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