mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed an issue where slide transitions would sometimes be animated diagonally.
This commit is contained in:
parent
c95351d94c
commit
4481f7e329
|
@ -415,8 +415,8 @@ void ViewController::goToGameList(SystemData* system)
|
|||
|
||||
// Find if we're wrapping around the first and last systems, which requires the gamelist
|
||||
// to be moved in order to avoid weird camera movements. This is only needed for the
|
||||
// slide transition style though.
|
||||
if (mState.viewing == GAME_LIST && slideTransitions) {
|
||||
// slide transition style.
|
||||
if (mState.viewing == GAME_LIST && SystemData::sSystemVector.size() > 1 && slideTransitions) {
|
||||
if (SystemData::sSystemVector.front() == mState.getSystem()) {
|
||||
if (SystemData::sSystemVector.back() == system)
|
||||
wrapFirstToLast = true;
|
||||
|
|
Loading…
Reference in a new issue