Calendar: fixed "today" color. Color was invalid
This commit is contained in:
parent
5419b7134e
commit
635746aab2
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ NLoader {
|
||||||
NText {
|
NText {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: model.day
|
text: model.day
|
||||||
color: model.today ? Color.onAccent : Color.mOnSurface
|
color: model.today ? Color.mOnPrimary : Color.mOnSurface
|
||||||
opacity: model.month === grid.month ? Style.opacityHeavy : Style.opacityLight
|
opacity: model.month === grid.month ? Style.opacityHeavy : Style.opacityLight
|
||||||
font.pointSize: (Style.fontSizeMedium * scaling)
|
font.pointSize: (Style.fontSizeMedium * scaling)
|
||||||
font.weight: model.today ? Style.fontWeightBold : Style.fontWeightRegular
|
font.weight: model.today ? Style.fontWeightBold : Style.fontWeightRegular
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue