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:
Carson Black 2020-12-12 01:40:52 -05:00 committed by Jan Blackquill
parent aecf9237cc
commit 7622e09bc0

View File

@ -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 {