From 9b97b0b011d1c5ce0a4361e0cf6ea89c9a8feefa Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Fri, 29 Nov 2024 00:00:46 +0100 Subject: [PATCH] Clarify on_close --- moderngl_window/context/base/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderngl_window/context/base/window.py b/moderngl_window/context/base/window.py index 73e036d..67da5cb 100644 --- a/moderngl_window/context/base/window.py +++ b/moderngl_window/context/base/window.py @@ -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: """