fix draw_pil_image

This commit is contained in:
2026-05-02 21:00:36 -04:00
parent eb927575d6
commit e97cad60df
+1 -1
View File
@@ -78,7 +78,7 @@ def draw_pil_image(canvas, img):
for x in range(img.width): for x in range(img.width):
for y in range(img.height): for y in range(img.height):
r, g, b = img.getpixel((x, y)) r, g, b = img.getpixel((x, y))
canvas.SetPixel(x, y, r, g, b) canvas.SetPixel(x, y, g, r, b) # swap r and g for GRB panels
def play_goal_celebration(): def play_goal_celebration():
global canvas global canvas