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:
@@ -13,6 +13,9 @@ class PlaylistScreen():
|
||||
self.playlists = []
|
||||
self.playlists_loaded()
|
||||
|
||||
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