mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-14 14:33:00 +00:00
leaderboard spacing update
This commit is contained in:
@@ -911,8 +911,8 @@ class LeaderboardManager:
|
|||||||
team_x += team_width
|
team_x += team_width
|
||||||
|
|
||||||
# Move to next league section (match width calculation logic)
|
# Move to next league section (match width calculation logic)
|
||||||
# current_x is currently at end of teams, need to add remaining spacing to next league start
|
# current_x is currently at start of teams section, need to move to end of teams + spacing
|
||||||
current_x += spacing # Add spacing between leagues
|
current_x += teams_width + 20 + spacing # Teams width + internal spacing + inter-league spacing
|
||||||
|
|
||||||
# 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