Skip to content

Commit

Permalink
Clarify on_close
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Nov 28, 2024
1 parent 51d09d2 commit 9b97b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moderngl_window/context/base/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ def on_resize(self, width: int, height: int) -> None:
"""

def on_close(self) -> None:
"""Called when the window is closed"""
"""Called when the window is about to close"""

def on_files_dropped_event(self, x: int, y: int, paths: list[str]) -> None:
"""
Expand Down

0 comments on commit 9b97b0b

Please sign in to comment.