Move ListItems to use veryShortDuration for hover instead of longDuration
This will generally make UIs using ListItems feel more responsive
This commit is contained in:
parent
aecf9237cc
commit
7622e09bc0
@ -24,7 +24,7 @@ PlasmaCore.FrameSvgItem {
|
|||||||
prefix: "hover"
|
prefix: "hover"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: control.hovered && !control.pressed ? 1 : 0
|
opacity: control.hovered && !control.pressed ? 1 : 0
|
||||||
Behavior on opacity { NumberAnimation { duration: units.longDuration } }
|
Behavior on opacity { NumberAnimation { duration: units.veryShortDuration } }
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.SvgItem {
|
PlasmaCore.SvgItem {
|
||||||
|
Loading…
Reference in New Issue
Block a user