X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/9174c060a2059d9debc04a1254bbc516f78d0dd7..b971dbe24e9c469e1929573909a6db63941b5d32:/displayio/_group.py diff --git a/displayio/_group.py b/displayio/_group.py index 8e006b2..abfe807 100644 --- a/displayio/_group.py +++ b/displayio/_group.py @@ -79,17 +79,16 @@ class Group: if self.in_group: for layer in self._layers: layer._update_transform(self._absolute_transform) - # pylint: enable=protected-access def _removal_cleanup(self, index): + # pylint: disable=protected-access layer = self._layers[index] - layer._update_transform(None) # pylint: disable=protected-access + layer._update_transform(None) def _layer_update(self, index): # pylint: disable=protected-access layer = self._layers[index] layer._update_transform(self._absolute_transform) - # pylint: enable=protected-access def append(self, layer: Union[Group, TileGrid]) -> None: """Append a layer to the group. It will be drawn