Skip to content

Commit 83ab0da

Browse files
committed
Type fix
1 parent 6c6c115 commit 83ab0da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcade/gui/surface.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(
3939
self._pos = position
4040
self._pixel_ratio = pixel_ratio
4141
self._pixelated = False
42-
self._area = None # Cached area for the last draw call
42+
self._area: Rect | None = None # Cached area for the last draw call
4343

4444
self.texture = self.ctx.texture(self.size_scaled, components=4)
4545
self.fbo: Framebuffer = self.ctx.framebuffer(color_attachments=[self.texture])

0 commit comments

Comments
 (0)