X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/a53c930973a24a7c55db9448e45d7ca7974cb56e..fd69c0e2397b5665769baceabf902fea01b81008:/displayio/_displaycore.py diff --git a/displayio/_displaycore.py b/displayio/_displaycore.py index fd42b4d..42218ec 100644 --- a/displayio/_displaycore.py +++ b/displayio/_displaycore.py @@ -254,7 +254,8 @@ class _DisplayCore: if not overlaps: return False - # Expand the area if we have multiple pixels per byte and we need to byte align the bounds + # Expand the area if we have multiple pixels per byte and we need to byte + # align the bounds if self.colorspace.depth < 8: pixels_per_byte = ( 8 // self.colorspace.depth * self.colorspace.bytes_per_cell