mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Fixed an issue where the color scheme configuration was parsed after the variant configuration.
This commit is contained in:
parent
01e6ffa14e
commit
f1bd530963
|
@ -501,8 +501,8 @@ void ThemeData::loadFile(const std::map<std::string, std::string>& sysDataMap,
|
||||||
parseFeatures(root);
|
parseFeatures(root);
|
||||||
|
|
||||||
if (!mLegacyTheme) {
|
if (!mLegacyTheme) {
|
||||||
parseVariants(root);
|
|
||||||
parseColorSchemes(root);
|
parseColorSchemes(root);
|
||||||
|
parseVariants(root);
|
||||||
parseAspectRatios(root);
|
parseAspectRatios(root);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1019,8 +1019,8 @@ void ThemeData::parseIncludes(const pugi::xml_node& root)
|
||||||
parseFeatures(theme);
|
parseFeatures(theme);
|
||||||
|
|
||||||
if (!mLegacyTheme) {
|
if (!mLegacyTheme) {
|
||||||
parseVariants(theme);
|
|
||||||
parseColorSchemes(theme);
|
parseColorSchemes(theme);
|
||||||
|
parseVariants(theme);
|
||||||
parseAspectRatios(theme);
|
parseAspectRatios(theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue