From 7e892a7855d00e1575a4be20f492c6c559012d52 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 16 Sep 2022 18:51:36 +0200 Subject: [PATCH] Changed the order of some theme properties. --- es-core/src/ThemeData.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index a3abfe423..ec30c96b4 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -184,6 +184,7 @@ std::map> {"metadataElement", BOOLEAN}, {"gameselector", STRING}, {"container", BOOLEAN}, + {"containerVerticalSnap", BOOLEAN}, {"containerScrollSpeed", FLOAT}, {"containerStartDelay", FLOAT}, {"containerResetDelay", FLOAT}, @@ -255,19 +256,18 @@ std::map> {"visible", BOOLEAN}, {"zIndex", FLOAT}}}, {"carousel", - {{"type", STRING}, + {{"pos", NORMALIZED_PAIR}, {"size", NORMALIZED_PAIR}, - {"pos", NORMALIZED_PAIR}, {"origin", NORMALIZED_PAIR}, - {"color", COLOR}, - {"colorEnd", COLOR}, - {"gradientType", STRING}, + {"type", STRING}, {"staticItem", PATH}, {"itemType", STRING}, {"defaultItem", PATH}, + {"maxItemCount", FLOAT}, + {"maxLogoCount", FLOAT}, // For backward compatibility with legacy themes. {"itemSize", NORMALIZED_PAIR}, - {"itemInterpolation", STRING}, {"itemScale", FLOAT}, + {"itemInterpolation", STRING}, {"itemRotation", FLOAT}, {"itemRotationOrigin", NORMALIZED_PAIR}, {"itemHorizontalAlignment", STRING}, @@ -279,20 +279,21 @@ std::map> {"reflectionsOpacity", FLOAT}, {"reflectionsFalloff", FLOAT}, {"unfocusedItemOpacity", FLOAT}, - {"maxItemCount", FLOAT}, {"defaultLogo", PATH}, // For backward compatibility with legacy themes. {"logoSize", NORMALIZED_PAIR}, // For backward compatibility with legacy themes. {"logoScale", FLOAT}, // For backward compatibility with legacy themes. {"logoRotation", FLOAT}, // For backward compatibility with legacy themes. {"logoRotationOrigin", NORMALIZED_PAIR}, // For backward compatibility with legacy themes. {"logoAlignment", STRING}, // For backward compatibility with legacy themes. - {"maxLogoCount", FLOAT}, // For backward compatibility with legacy themes. + {"color", COLOR}, + {"colorEnd", COLOR}, + {"gradientType", STRING}, {"text", STRING}, {"textColor", COLOR}, {"textBackgroundColor", COLOR}, - {"letterCase", STRING}, {"fontPath", PATH}, {"fontSize", FLOAT}, + {"letterCase", STRING}, {"lineSpacing", FLOAT}, {"zIndex", FLOAT}, {"legacyZIndexMode", STRING}}}, // For backward compatibility with legacy themes.