Changed the order of two theme properties to improve consistency.

This commit is contained in:
Leon Styhre 2022-10-31 20:12:42 +01:00
parent 5a163d6887
commit 4e84707e3a

View file

@ -233,11 +233,11 @@ std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>>
{"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}}},