mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
Scroll delay check
This commit is contained in:
@@ -521,5 +521,6 @@ class NewsManager:
|
|||||||
|
|
||||||
def get_dynamic_duration(self) -> int:
|
def get_dynamic_duration(self) -> int:
|
||||||
"""Get the calculated dynamic duration for display"""
|
"""Get the calculated dynamic duration for display"""
|
||||||
# Return the current calculated duration without fetching data
|
# For smooth scrolling, use a fixed short duration so display controller calls us frequently
|
||||||
return self.dynamic_duration
|
# This allows the scroll_delay to control the actual scrolling speed
|
||||||
|
return 1 # 1 second duration - display controller will call us every second
|
||||||
Reference in New Issue
Block a user