Skip to content

Commit

Permalink
mark
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmanLP committed Dec 18, 2024
1 parent 6c7de12 commit 74af3a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window/gui/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ void Gui::DrawMenu() {
GetMenuBar()->ToggleVisibility();
}
if (wnd->IsFullscreen()) {
// TODO: mouse capture?
Context::GetInstance()->GetWindow()->SetCursorVisibility(GetMenuOrMenubarVisible() ||
wnd->ShouldForceCursorVisibility());
}
Expand Down

0 comments on commit 74af3a0

Please sign in to comment.