fix tick value

This commit is contained in:
2026-08-02 00:21:05 -04:00
parent 965d3c1441
commit 2f94e45477
+3 -3
View File
@@ -191,9 +191,9 @@ def draw_frame(matrix):
draw_text_overlay(matrix.canvas, ordered, scroll_x)
# advance scroll every N ticks
_tick += 1
if _tick >= frames_per_tick:
_tick = 0
tick += 1
if tick >= frames_per_tick:
tick = 0
next_x = scroll_x + scroll_speed
if next_x >= total_scroll_width:
matrix.next_slide("fantasy")