From ebab2ee188a38a964750a93c05febc3c5ece26dd Mon Sep 17 00:00:00 2001 From: elasota Date: Thu, 17 Dec 2020 19:48:57 -0500 Subject: [PATCH] Fix incorrect carat pulse timing --- PortabilityLayer/DialogManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PortabilityLayer/DialogManager.cpp b/PortabilityLayer/DialogManager.cpp index 079d86c..701ae96 100644 --- a/PortabilityLayer/DialogManager.cpp +++ b/PortabilityLayer/DialogManager.cpp @@ -361,7 +361,7 @@ namespace PortabilityLayer const bool haveEvent = WaitForEvent(&evt, 1); - if (window->IsHandlingTickEvents()) + if (!haveEvent && window->IsHandlingTickEvents()) window->OnTick(); const int16_t selection = (filterFunc != nullptr) ? filterFunc(captureContext, this, haveEvent ? &evt : nullptr) : -1;