mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
Optimized screen draw. Only update needed rects
This commit is contained in:
@@ -14,6 +14,9 @@ class Tracklist():
|
||||
self.tracks_strings = []
|
||||
self.update_list()
|
||||
|
||||
def get_dirty_area(self):
|
||||
return self.list_view.get_dirty_area()
|
||||
|
||||
def update(self, screen):
|
||||
self.list_view.render(screen)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user