From b283cb4befdf4835b5aec5803e288cc209c9da2c Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 27 Jun 2025 02:58:20 +0800 Subject: [PATCH] =?UTF-8?q?InputEvent=E7=9B=B8=E5=85=B3=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E3=80=81=E5=8F=98=E9=87=8F=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.cpp b/src/Window.cpp index 9fc5bdc..7ef27ff 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -11,7 +11,7 @@ namespace hgl is_close=true; is_min=false; - input_event.Join(this); + input_event.RegistryEventDispatch(this); } void Window::OnResize(uint w,uint h) @@ -39,7 +39,7 @@ namespace hgl void Window::OnClose() { - input_event.Unjoin(this); + input_event.UnregistryEventDispatch(this); is_close=true; }