mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed an issue where the static image would not always get rendered during Slide transitions.
This commit is contained in:
parent
f59223927e
commit
a0e587c19b
|
@ -27,7 +27,8 @@ public:
|
|||
{
|
||||
// Cubic ease out.
|
||||
t -= 1;
|
||||
cameraOut.translation() = -Vector3f().lerp(-mCameraStart.translation(), mTarget, t*t*t + 1);
|
||||
cameraOut.translation() =
|
||||
-Vector3f().lerp(-mCameraStart.translation(), mTarget, t * t * t + 1);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
@ -404,6 +404,11 @@ void ViewController::goToGameList(SystemData* system)
|
|||
mPreviousView.reset();
|
||||
mPreviousView = nullptr;
|
||||
}
|
||||
else if (!mPreviousView && mState.viewing == GAME_LIST) {
|
||||
// This is needed as otherwise the static image would not get rendered during the
|
||||
// first Slide transition when coming from the System view.
|
||||
mSkipView = getGameListView(system);
|
||||
}
|
||||
|
||||
if (mState.viewing != SYSTEM_SELECT) {
|
||||
mPreviousView = mCurrentView;
|
||||
|
|
Loading…
Reference in a new issue