mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Added support for placing aspectRatio tags inside variant tags and variables and colorScheme tags inside aspectRatio tags.
This commit is contained in:
parent
98d9ce42d2
commit
9584c1bcc7
|
@ -1128,8 +1128,10 @@ void ThemeData::parseVariants(const pugi::xml_node& root)
|
||||||
|
|
||||||
if (mSelectedVariant == viewKey || viewKey == "all") {
|
if (mSelectedVariant == viewKey || viewKey == "all") {
|
||||||
parseVariables(node);
|
parseVariables(node);
|
||||||
|
parseColorSchemes(node);
|
||||||
parseIncludes(node);
|
parseIncludes(node);
|
||||||
parseViews(node);
|
parseViews(node);
|
||||||
|
parseAspectRatios(node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1209,6 +1211,8 @@ void ThemeData::parseAspectRatios(const pugi::xml_node& root)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mSelectedAspectRatio == viewKey) {
|
if (mSelectedAspectRatio == viewKey) {
|
||||||
|
parseVariables(node);
|
||||||
|
parseColorSchemes(node);
|
||||||
parseIncludes(node);
|
parseIncludes(node);
|
||||||
parseViews(node);
|
parseViews(node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue