mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
leaderboard spacing calculation update
This commit is contained in:
@@ -910,9 +910,9 @@ class LeaderboardManager:
|
|||||||
# Move to next team position
|
# Move to next team position
|
||||||
team_x += team_width
|
team_x += team_width
|
||||||
|
|
||||||
# Move to next league section
|
# Move to next league section (match width calculation logic)
|
||||||
current_x += teams_width + 20 # Teams width + spacing
|
# current_x is currently at end of teams, need to add remaining spacing to next league start
|
||||||
# Note: spacing between leagues is already included in total_width calculation
|
current_x += spacing # Add spacing between leagues
|
||||||
|
|
||||||
# Set total scroll width for dynamic duration calculation
|
# Set total scroll width for dynamic duration calculation
|
||||||
self.total_scroll_width = total_width
|
self.total_scroll_width = total_width
|
||||||
|
|||||||
Reference in New Issue
Block a user