From 9584c1bcc732a6087486a220875020ad6696f7d9 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 1 Nov 2022 17:13:37 +0100 Subject: [PATCH] Added support for placing aspectRatio tags inside variant tags and variables and colorScheme tags inside aspectRatio tags. --- es-core/src/ThemeData.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index 208a507e5..95e7334d4 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -1128,8 +1128,10 @@ void ThemeData::parseVariants(const pugi::xml_node& root) if (mSelectedVariant == viewKey || viewKey == "all") { parseVariables(node); + parseColorSchemes(node); parseIncludes(node); parseViews(node); + parseAspectRatios(node); } } } @@ -1209,6 +1211,8 @@ void ThemeData::parseAspectRatios(const pugi::xml_node& root) } if (mSelectedAspectRatio == viewKey) { + parseVariables(node); + parseColorSchemes(node); parseIncludes(node); parseViews(node); }