closing more popups with esc
This commit is contained in:
parent
674d3c6b12
commit
73c263c2b4
|
@ -512,4 +512,7 @@ void FurnaceGUI::drawExport() {
|
|||
}
|
||||
break;
|
||||
}
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_Escape)) {
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -133,6 +133,9 @@ void FurnaceGUI::drawSysManager() {
|
|||
}
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_Escape)) {
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
ImGui::SameLine();
|
||||
|
@ -169,6 +172,9 @@ void FurnaceGUI::drawSysManager() {
|
|||
updateROMExportAvail();
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_Escape)) {
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue