From 513ef5f2a810c0627c4ca3a81426eda71f6a752e Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Sun, 2 Aug 2026 00:35:32 -0400 Subject: [PATCH] fix canvas --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 150a762..3a69bea 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,9 @@ scoreboard_matrix = ScoreboardMatrix() def main(): while True: if scoreboard_matrix.current_slide == "score": - score.draw_frame(scoreboard_matrix) + canvas = score.draw_frame(scoreboard_matrix) + if canvas: + scoreboard_matrix.canvas = scoreboard_matrix.matrix.SwapOnVSync(canvas) sleep(2)