mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-06 19:02:52 +02:00
Menu exit tweens were not using the proper index
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user