mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-03 12:38:53 +01:00
Menu exit tweens were not using the proper index
This commit is contained in:
parent
5a3053a99b
commit
be1cd8165c
@ -216,7 +216,7 @@ void Component::Update(float dt)
|
||||
else if(MenuExitRequested)
|
||||
{
|
||||
MenuExitRequested = false;
|
||||
CurrentTweens = Tweens->GetTween("menuExit", MenuEnterIndex);
|
||||
CurrentTweens = Tweens->GetTween("menuExit", MenuExitIndex);
|
||||
CurrentAnimationState = MENU_EXIT;
|
||||
}
|
||||
else if(IsScrollActive() || NewItemSelected || ExitRequested)
|
||||
@ -276,7 +276,7 @@ void Component::Update(float dt)
|
||||
}
|
||||
else if(MenuExitRequested)
|
||||
{
|
||||
CurrentTweens = Tweens->GetTween("menuExit", MenuEnterIndex);
|
||||
CurrentTweens = Tweens->GetTween("menuExit", MenuExitIndex);
|
||||
CurrentAnimationState = MENU_EXIT;
|
||||
MenuExitRequested = false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user