mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
playing with scroll speed for news manager
This commit is contained in:
@@ -438,6 +438,9 @@ class NewsManager:
|
||||
self.display_manager.image = img
|
||||
self.display_manager.update_display()
|
||||
|
||||
# Add the scroll delay to control speed
|
||||
time.sleep(self.scroll_delay)
|
||||
|
||||
# Debug: log scroll position
|
||||
if hasattr(self, 'scroll_position') and hasattr(self, 'total_scroll_width'):
|
||||
logger.debug(f"Scroll position: {self.scroll_position}/{self.total_scroll_width}")
|
||||
|
||||
Reference in New Issue
Block a user