mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Fix Quit call for Linux
This commit is contained in:
@@ -239,7 +239,8 @@ void UserInterface::handleKeyboard()
|
|||||||
|
|
||||||
if (ImGui::IsKeyPressed( GLFW_KEY_Q )) {
|
if (ImGui::IsKeyPressed( GLFW_KEY_Q )) {
|
||||||
// try quit
|
// try quit
|
||||||
TryClose();
|
if ( TryClose() )
|
||||||
|
Rendering::manager().close();
|
||||||
}
|
}
|
||||||
else if (ImGui::IsKeyPressed( GLFW_KEY_O )) {
|
else if (ImGui::IsKeyPressed( GLFW_KEY_O )) {
|
||||||
// SHIFT + CTRL + O : reopen current session
|
// SHIFT + CTRL + O : reopen current session
|
||||||
|
|||||||
Reference in New Issue
Block a user