- if self._core.current_group is not None:
- # Eventually calculate dirty rectangles here
- areas.append(Area(0, 0, self._core.width, self._core.height))
+ if self._core.full_refresh:
+ areas.append(self._core.area)
+ elif self._core.current_group is not None:
+ self._core.current_group._get_refresh_areas( # pylint: disable=protected-access
+ areas
+ )