Skip to content

Commit

Permalink
Correct type annotation for pos argument (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
nocarryr authored Dec 22, 2024
1 parent 81da3db commit 93349b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moderngl_window/text/bitmapped/text_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _write(self, text: str) -> None:
)
)

def draw(self, pos: tuple[float, float, float], length: int = -1, size: float = 24.0) -> None:
def draw(self, pos: tuple[float, float], length: int = -1, size: float = 24.0) -> None:
assert self.ctx is not None, "There was a problem, we do not have a context"
assert self.ctx.fbo is not None, "The current context do not have a framebuffer"
assert self._meta is not None, "We are missing the information needed to write text"
Expand Down

0 comments on commit 93349b9

Please sign in to comment.