mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Fix incorrect carat pulse timing
This commit is contained in:
@@ -361,7 +361,7 @@ namespace PortabilityLayer
|
|||||||
|
|
||||||
const bool haveEvent = WaitForEvent(&evt, 1);
|
const bool haveEvent = WaitForEvent(&evt, 1);
|
||||||
|
|
||||||
if (window->IsHandlingTickEvents())
|
if (!haveEvent && window->IsHandlingTickEvents())
|
||||||
window->OnTick();
|
window->OnTick();
|
||||||
|
|
||||||
const int16_t selection = (filterFunc != nullptr) ? filterFunc(captureContext, this, haveEvent ? &evt : nullptr) : -1;
|
const int16_t selection = (filterFunc != nullptr) ? filterFunc(captureContext, this, haveEvent ? &evt : nullptr) : -1;
|
||||||
|
Reference in New Issue
Block a user