From 4e84707e3a5cc047f9c4f04a673840f39e710035 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 31 Oct 2022 20:12:42 +0100 Subject: [PATCH] Changed the order of two theme properties to improve consistency. --- 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 2e75c99b7..a6e53358e 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -233,11 +233,11 @@ std::map> {"rotationOrigin", NORMALIZED_PAIR}, {"fontPath", PATH}, {"fontSize", FLOAT}, - {"color", COLOR}, - {"backgroundColor", COLOR}, {"horizontalAlignment", STRING}, {"verticalAlignment", STRING}, {"alignment", STRING}, // For backward compatibility with legacy themes. + {"color", COLOR}, + {"backgroundColor", COLOR}, {"opacity", FLOAT}, {"visible", BOOLEAN}, {"zIndex", FLOAT}}},