X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/b519d20f8909547be251df6252c18a08d7f49aef..948eee348d6c70315c4010740e500a49207afc71:/displayio/display.py diff --git a/displayio/display.py b/displayio/display.py index 4e55c68..10ccf4e 100644 --- a/displayio/display.py +++ b/displayio/display.py @@ -45,7 +45,6 @@ from recordclass import recordclass __version__ = "0.0.0-auto.0" __repo__ = "https://github.com/adafruit/Adafruit_Blinka_displayio.git" -Transform = recordclass("Transform", "x y dx dy scale transpose_xy mirror_x mirror_y") Rectangle = recordclass("Rectangle", "x1 y1 x2 y2") displays = [] @@ -136,7 +135,7 @@ class Display: self._height = height self._colstart = colstart self._rowstart = rowstart - self._rotation = 0 + self._rotation = rotation self._auto_brightness = auto_brightness self._brightness = brightness self._auto_refresh = auto_refresh @@ -145,7 +144,6 @@ class Display: self._subrectangles = [] self._bounds_encoding = ">BB" if single_byte_bounds else ">HH" self._current_group = None - self.rotation = rotation displays.append(self) self._refresh_thread = None if self._auto_refresh: