Small code formatting change

This commit is contained in:
Leon Styhre 2023-12-17 21:18:08 +01:00
parent 39d3072994
commit d4d41b58fd
2 changed files with 4 additions and 3 deletions

View file

@ -1434,7 +1434,8 @@ void SystemView::renderElements(const glm::mat4& parentTrans, bool abovePrimary)
// If it's a gamelist to system transition and these animations are set to slide.
if (static_cast<ViewTransitionAnimation>(Settings::getInstance()->getInt(
"TransitionsGamelistToSystem")) == ViewTransitionAnimation::SLIDE &&
viewState.previouslyViewed == ViewController::ViewMode::GAMELIST)
viewState.previouslyViewed == ViewController::ViewMode::GAMELIST &&
ViewController::getInstance()->isCameraMoving())
stationaryApplicable = true;
for (int i {renderBefore}; i <= renderAfter; ++i) {

View file

@ -140,8 +140,8 @@ void ViewController::setMenuColors()
void ViewController::legacyAppDataDialog()
{
const std::string upgradeMessage {
"AS OF ES-DE 3.0.0 THE APPLICATION DATA DIRECTORY HAS CHANGED FROM \".emulationstation\" to "
"\"ES-DE\"\nPLEASE RENAME YOUR CURRENT DATA DIRECTORY:\n" +
"AS OF ES-DE 3.0.0 THE APPLICATION DATA DIRECTORY HAS CHANGED FROM \".emulationstation\" "
"to \"ES-DE\"\nPLEASE RENAME YOUR CURRENT DATA DIRECTORY:\n" +
Utils::FileSystem::getAppDataDirectory().string() + "\nTO THE FOLLOWING:\n" +
Utils::FileSystem::getAppDataDirectory().parent_path().append("ES-DE").string()};