mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-13 14:03:00 +00:00
re-introduce 6 pixel shift, but static instead of dynamic
This commit is contained in:
@@ -770,10 +770,12 @@ class MusicManager:
|
|||||||
ALBUM_Y_PERCENT = 0.60 # 60% from top
|
ALBUM_Y_PERCENT = 0.60 # 60% from top
|
||||||
|
|
||||||
# Use fixed positioning to ensure consistency across all songs
|
# Use fixed positioning to ensure consistency across all songs
|
||||||
# The BDF 5x7 font has consistent metrics, so we don't need dynamic shifts
|
# Add a consistent font baseline shift for BDF fonts (not dynamic)
|
||||||
|
FIXED_BDF_BASELINE_SHIFT = 6 # Fixed shift for proper BDF font positioning
|
||||||
|
|
||||||
y_pos_title_top = 1
|
y_pos_title_top = 1
|
||||||
y_pos_artist_top = int(matrix_height * ARTIST_Y_PERCENT)
|
y_pos_artist_top = int(matrix_height * ARTIST_Y_PERCENT) + FIXED_BDF_BASELINE_SHIFT
|
||||||
y_pos_album_top = int(matrix_height * ALBUM_Y_PERCENT)
|
y_pos_album_top = int(matrix_height * ALBUM_Y_PERCENT) + FIXED_BDF_BASELINE_SHIFT
|
||||||
|
|
||||||
TEXT_SCROLL_DIVISOR = 5
|
TEXT_SCROLL_DIVISOR = 5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user