]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/commitdiff
Revert rotation setter to original
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Tue, 9 Jun 2020 22:57:43 +0000 (15:57 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Tue, 9 Jun 2020 22:57:43 +0000 (15:57 -0700)
displayio/display.py

index 4db7fd188ad31cd6c4a31a6e8d8092b6342863c7..10ccf4ecaa34c84084310097418a0c97aa2ffa5e 100644 (file)
@@ -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: