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}, {"rotationOrigin", NORMALIZED_PAIR},
{"fontPath", PATH}, {"fontPath", PATH},
{"fontSize", FLOAT}, {"fontSize", FLOAT},
{"color", COLOR},
{"backgroundColor", COLOR},
{"horizontalAlignment", STRING}, {"horizontalAlignment", STRING},
{"verticalAlignment", STRING}, {"verticalAlignment", STRING},
{"alignment", STRING}, // For backward compatibility with legacy themes. {"alignment", STRING}, // For backward compatibility with legacy themes.
{"color", COLOR},
{"backgroundColor", COLOR},
{"opacity", FLOAT}, {"opacity", FLOAT},
{"visible", BOOLEAN}, {"visible", BOOLEAN},
{"zIndex", FLOAT}}}, {"zIndex", FLOAT}}},