Clears the input event queue on input dialog open.

This commit is contained in:
2022-11-26 17:19:47 +08:00
parent 31155c909c
commit 4bcf76819c

View File

@@ -32,6 +32,7 @@ namespace Cryville.Crtr.Config {
_sel = entry;
m_inputDialog.SetActive(true);
CallHelper.Purge(m_deviceList);
Game.InputManager.EnumerateEvents(ev => { });
_recvsrcs.Clear();
AddSourceItem(null);
}