]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - displayio/display.py
Merge branch 'rotation'
[hackapet/Adafruit_Blinka_Displayio.git] / 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: