Moved the position of one GridComponent property.

This commit is contained in:
Leon Styhre 2022-12-11 17:48:56 +01:00
parent 7b7a33de1f
commit a5b08e3da2
2 changed files with 3 additions and 3 deletions

View file

@ -178,8 +178,8 @@ std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>>
{"rowTransitions", STRING},
{"unfocusedItemOpacity", FLOAT},
{"edgeScaleInwards", BOOLEAN}, // TODO
{"imageRelativeScale", FLOAT},
{"imageFit", STRING},
{"imageRelativeScale", FLOAT},
{"imageColor", COLOR},
{"imageColorEnd", COLOR},
{"imageGradientType", STRING},

View file

@ -143,8 +143,8 @@ private:
bool mInstantItemTransitions;
bool mInstantRowTransitions;
float mUnfocusedItemOpacity;
float mImageRelativeScale;
ImageFit mImagefit;
float mImageRelativeScale;
unsigned int mImageColor;
unsigned int mImageColorEnd;
bool mImageColorGradientHorizontal;
@ -199,8 +199,8 @@ GridComponent<T>::GridComponent()
, mInstantItemTransitions {false}
, mInstantRowTransitions {false}
, mUnfocusedItemOpacity {1.0f}
, mImageRelativeScale {1.0f}
, mImagefit {ImageFit::CONTAIN}
, mImageRelativeScale {1.0f}
, mImageColor {0xFFFFFFFF}
, mImageColorEnd {0xFFFFFFFF}
, mImageColorGradientHorizontal {true}