impr: Allow Accept Pattern popup to be closed with Escape

This commit is contained in:
WerWolv
2023-06-24 15:32:05 +02:00
parent 07ffd21c5a
commit b644020e0f

View File

@@ -86,6 +86,9 @@ namespace hex::plugin::builtin {
this->close();
}
);
if (ImGui::IsKeyPressed(ImGuiKey_Escape))
this->close();
}
[[nodiscard]] ImGuiWindowFlags getFlags() const override {