Remove hover animation from calendar
Removing hover animation from calendar tiles makes it feel more responsive
This commit is contained in:
parent
b92744aaea
commit
d4ec370187
@ -68,7 +68,6 @@ MouseArea {
|
|||||||
0
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration*2 } }
|
|
||||||
color: PlasmaCore.Theme.textColor
|
color: PlasmaCore.Theme.textColor
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +84,6 @@ MouseArea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
visible: !today
|
visible: !today
|
||||||
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration*2 } }
|
|
||||||
color: PlasmaCore.Theme.highlightColor
|
color: PlasmaCore.Theme.highlightColor
|
||||||
z: todayRect.z - 1
|
z: todayRect.z - 1
|
||||||
}
|
}
|
||||||
@ -118,8 +116,5 @@ MouseArea {
|
|||||||
// -1 is an undocumented same as unset (see qquickvaluetypes)
|
// -1 is an undocumented same as unset (see qquickvaluetypes)
|
||||||
font.pointSize: -1
|
font.pointSize: -1
|
||||||
color: today ? PlasmaCore.Theme.backgroundColor : PlasmaCore.Theme.textColor
|
color: today ? PlasmaCore.Theme.backgroundColor : PlasmaCore.Theme.textColor
|
||||||
Behavior on color {
|
|
||||||
ColorAnimation { duration: PlasmaCore.Units.shortDuration * 2 }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user