mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 07:01:21 +00:00
closing more popups with esc
This commit is contained in:
parent
674d3c6b12
commit
73c263c2b4
2 changed files with 9 additions and 0 deletions
|
@ -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