diff options
| author | Archez <Archez@users.noreply.github.com> | 2024-11-12 10:39:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 10:39:29 -0500 |
| commit | ebb9e3fc8ee9f8eb57843ec2a5f49cdc099201b7 (patch) | |
| tree | 9e6dc0b47cc23bdcc797afeb0d47bc7ac96358d7 | |
| parent | 01b127b7f332e65a400f9363139cd98bb1794219 (diff) | |
Fix modern menu not interacting properly with some mouse events (#844)
| -rw-r--r-- | mm/2s2h/BenGui/Menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/BenGui/Menu.cpp b/mm/2s2h/BenGui/Menu.cpp index 9727b58ed..554038b64 100644 --- a/mm/2s2h/BenGui/Menu.cpp +++ b/mm/2s2h/BenGui/Menu.cpp @@ -174,7 +174,7 @@ void BenMenu::DrawElement() { ImGui::SetNextWindowPos(ImGui::GetMainViewport()->GetCenter(), windowCond, { 0.5f, 0.5f }); ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0.0f); } - if (!ImGui::Begin("Main Menu", NULL, windowFlags | ImGuiWindowFlags_NoBringToFrontOnFocus)) { + if (!ImGui::Begin("Main Menu", NULL, windowFlags)) { if (!popout) { ImGui::PopStyleVar(); } |
