Lots of work on input processing

This commit is contained in:
2026-04-18 01:11:21 -04:00
parent 6388de9b39
commit fd970f20c3
4 changed files with 17 additions and 13 deletions

View File

@@ -94,8 +94,7 @@ void FlxInputModeRequests::GarbageCollect()
int32 N = Requests.Num();
Requests.RemoveAll([](const FlxInputModeRequest &Entry)
{
UUserWidget *W = Entry.Widget;
return W == nullptr || !IsValid(W) || W->GetParent() == nullptr;
return !IsValid(Entry.Widget);
});
if (Requests.Num() < N) Dirty = true;
}