From 486a8bc26f13a0db64cb792116e26fc571bce1c6 Mon Sep 17 00:00:00 2001 From: Ayo Reis Date: Sat, 27 Sep 2025 12:04:42 +0100 Subject: [PATCH] Fix indexed bitmaps by correcting argument order at call --- displayio/_ondiskbitmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/displayio/_ondiskbitmap.py b/displayio/_ondiskbitmap.py index 654a312..00ea765 100644 --- a/displayio/_ondiskbitmap.py +++ b/displayio/_ondiskbitmap.py @@ -142,7 +142,7 @@ class OnDiskBitmap: for i in range(number_of_colors): palette._set_color( - palette_data[i], i + i, palette_data[i] ) # pylint: disable=protected-access else: palette._set_color(0x000000, 0) # pylint: disable=protected-access -- 2.49.0