mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 11:49:59 +01:00
BugFix Restore CTRL+F for main window fullscreen
Bug introduced at commit e3b8ccff9e
This commit is contained in:
@@ -268,6 +268,9 @@ void UserInterface::handleKeyboard()
|
|||||||
if ( TryClose() )
|
if ( TryClose() )
|
||||||
Rendering::manager().close();
|
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 )) {
|
else if (ImGui::IsKeyPressed( Control::layoutKey(GLFW_KEY_O), false )) {
|
||||||
// SHIFT + CTRL + O : reopen current session
|
// SHIFT + CTRL + O : reopen current session
|
||||||
if (shift_modifier_active && !Mixer::manager().session()->filename().empty())
|
if (shift_modifier_active && !Mixer::manager().session()->filename().empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user