X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/e6284da03fe940ace9fe15d092f45124cb7c12d2..db195c4168b118203a3892b5f04e9d609a041fbd:/displayio/_ondiskbitmap.py?ds=inline diff --git a/displayio/_ondiskbitmap.py b/displayio/_ondiskbitmap.py index 2c48043..c052bcb 100644 --- a/displayio/_ondiskbitmap.py +++ b/displayio/_ondiskbitmap.py @@ -47,8 +47,8 @@ class OnDiskBitmap: @property def pixel_shader(self) -> Union[ColorConverter, Palette]: - """Height of the bitmap. (read only)""" - return self._image.height + """The ColorConverter or Palette for this image. (read only)""" + return self._image.getpalette() def __getitem__(self, index: Union[tuple, list, int]) -> int: """