BugFix Restore CTRL+F for main window fullscreen

Bug introduced at commit e3b8ccff9e
This commit is contained in:
Bruno Herbelin
2024-05-20 10:48:35 +02:00
parent b30b5b6474
commit 8d66913a8e

View File

@@ -268,6 +268,9 @@ void UserInterface::handleKeyboard()
if ( TryClose() )
Rendering::manager().close();
}
else if (ImGui::IsKeyPressed( Control::layoutKey(GLFW_KEY_F), false )) {
Rendering::manager().mainWindow().toggleFullscreen();
}
else if (ImGui::IsKeyPressed( Control::layoutKey(GLFW_KEY_O), false )) {
// SHIFT + CTRL + O : reopen current session
if (shift_modifier_active && !Mixer::manager().session()->filename().empty())