impr: Make accept pattern popup open faster and close correctly

This commit is contained in:
WerWolv
2024-05-08 23:54:09 +02:00
parent 6602e800ac
commit 978fa17932
3 changed files with 24 additions and 14 deletions

View File

@@ -487,7 +487,7 @@ namespace hex {
else
createPopup(ImGui::BeginPopup(name, flags));
if (!ImGui::IsPopupOpen(name) && displayFrameCount < 100) {
if (!ImGui::IsPopupOpen(name) && displayFrameCount < 5) {
ImGui::OpenPopup(name);
}