We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c6c115 commit 83ab0daCopy full SHA for 83ab0da
arcade/gui/surface.py
@@ -39,7 +39,7 @@ def __init__(
39
self._pos = position
40
self._pixel_ratio = pixel_ratio
41
self._pixelated = False
42
- self._area = None # Cached area for the last draw call
+ self._area: Rect | None = None # Cached area for the last draw call
43
44
self.texture = self.ctx.texture(self.size_scaled, components=4)
45
self.fbo: Framebuffer = self.ctx.framebuffer(color_attachments=[self.texture])
0 commit comments