kwinrules: Limit hightlight scrolling duration
By default, the rules list moves to the hightlighted item
(the one being edited) with a constant velocity. This can
be too slow when the list contains hundreds of items.
By setting `highlightMoveDuration` we set a maximum limit
for this animation.
BUG: 428139
(cherry picked from commit cfeca03e48
)
icc-effect-5.20.5
parent
2ce464a15a
commit
7465dcc9de
|
@ -48,6 +48,8 @@ ScrollViewKCM {
|
||||||
sourceComponent: ruleBookDelegate
|
sourceComponent: ruleBookDelegate
|
||||||
}
|
}
|
||||||
|
|
||||||
|
highlightMoveDuration: Kirigami.Units.longDuration
|
||||||
|
|
||||||
displaced: Transition {
|
displaced: Transition {
|
||||||
NumberAnimation { properties: "y"; duration: Kirigami.Units.longDuration }
|
NumberAnimation { properties: "y"; duration: Kirigami.Units.longDuration }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue