From f1bd53096380933dc7905340d0e07c3a03f7fbf2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 31 Oct 2022 21:02:53 +0100 Subject: [PATCH] Fixed an issue where the color scheme configuration was parsed after the variant configuration. --- es-core/src/ThemeData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index a6e53358e..56b4c4067 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -501,8 +501,8 @@ void ThemeData::loadFile(const std::map& sysDataMap, parseFeatures(root); if (!mLegacyTheme) { - parseVariants(root); parseColorSchemes(root); + parseVariants(root); parseAspectRatios(root); } } @@ -1019,8 +1019,8 @@ void ThemeData::parseIncludes(const pugi::xml_node& root) parseFeatures(theme); if (!mLegacyTheme) { - parseVariants(theme); parseColorSchemes(theme); + parseVariants(theme); parseAspectRatios(theme); }