Exit with ESC (#1195)
This commit is contained in:
parent
4fe0e1d06a
commit
a3a8dd7f0d
2 changed files with 3 additions and 3 deletions
|
|
@ -140,7 +140,7 @@ void FurnaceGUI::drawNewSong() {
|
|||
|
||||
ImGui::SameLine();
|
||||
|
||||
if (ImGui::Button("Cancel")) {
|
||||
if (ImGui::Button("Cancel") || ImGui::IsKeyPressed(ImGuiKey_Escape)) {
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue