Fixed a camera animation issue when changing theme variant or aspect ratio.

This commit is contained in:
Leon Styhre 2022-02-01 00:06:40 +01:00
parent d4f572d78d
commit 17d8f8eb5b

View file

@ -168,7 +168,6 @@ void GuiMenu::openUIOptions()
Settings::getInstance()->setString("ThemeVariant", themeVariant->getSelected()); Settings::getInstance()->setString("ThemeVariant", themeVariant->getSelected());
s->setNeedsSaving(); s->setNeedsSaving();
s->setNeedsReloading(); s->setNeedsReloading();
s->setNeedsGoToStart();
s->setInvalidateCachedBackground(); s->setInvalidateCachedBackground();
} }
}); });
@ -203,7 +202,6 @@ void GuiMenu::openUIOptions()
themeAspectRatio->getSelected()); themeAspectRatio->getSelected());
s->setNeedsSaving(); s->setNeedsSaving();
s->setNeedsReloading(); s->setNeedsReloading();
s->setNeedsGoToStart();
s->setInvalidateCachedBackground(); s->setInvalidateCachedBackground();
} }
}); });