ui: Toggle fullscreen on mouse double click

This commit is contained in:
Erik Abair 2025-04-22 21:30:21 -07:00 committed by mborgerson
parent 428c975f09
commit bd3cd78ae4
1 changed files with 2 additions and 0 deletions

View File

@ -290,6 +290,8 @@ void xemu_hud_render(void)
(ImGui::IsMouseClicked(ImGuiMouseButton_Right) &&
!ImGui::IsAnyItemFocused() && !ImGui::IsAnyItemHovered())) {
g_scene_mgr.PushScene(g_popup_menu);
} else if (ImGui::IsMouseDoubleClicked(ImGuiMouseButton_Left)) {
xemu_toggle_fullscreen();
}
bool mod_key_down = ImGui::IsKeyDown(ImGuiKey_ModShift);