Prevent idle state from being updated incorrectly

This commit is contained in:
David Zhao 2019-05-31 14:06:13 +09:00
parent dc36b81cee
commit 465aa4e0f6
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ private void onMulti()
private void updateIdleState(bool isIdle)
{
if (isIdle && State != ButtonSystemState.Exit)
if (isIdle && State != ButtonSystemState.Exit && State != ButtonSystemState.EnteringMode)
State = ButtonSystemState.Initial;
}