From: Melissa LeBlanc-Williams Date: Tue, 9 Jun 2020 22:57:43 +0000 (-0700) Subject: Revert rotation setter to original X-Git-Tag: 0.3.0^2~3^2 X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/commitdiff_plain/e8db0f50237501e295c63776d57162d7b008d94d?ds=inline Revert rotation setter to original --- diff --git a/displayio/display.py b/displayio/display.py index 4db7fd1..10ccf4e 100644 --- a/displayio/display.py +++ b/displayio/display.py @@ -135,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 @@ -144,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: