From 74af3a019346a94e8e1da3f674aaaf5775e8c74b Mon Sep 17 00:00:00 2001 From: lightmanLP Date: Wed, 18 Dec 2024 11:09:16 +0700 Subject: [PATCH] mark --- src/window/gui/Gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window/gui/Gui.cpp b/src/window/gui/Gui.cpp index 034d1e769..0d413adfd 100644 --- a/src/window/gui/Gui.cpp +++ b/src/window/gui/Gui.cpp @@ -489,6 +489,7 @@ void Gui::DrawMenu() { GetMenuBar()->ToggleVisibility(); } if (wnd->IsFullscreen()) { + // TODO: mouse capture? Context::GetInstance()->GetWindow()->SetCursorVisibility(GetMenuOrMenubarVisible() || wnd->ShouldForceCursorVisibility()); }