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
This commit is contained in:
parent
c3eba1e41c
commit
cfeca03e48
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ ScrollViewKCM {
|
|||
sourceComponent: ruleBookDelegate
|
||||
}
|
||||
|
||||
highlightMoveDuration: Kirigami.Units.longDuration
|
||||
|
||||
displaced: Transition {
|
||||
NumberAnimation { properties: "y"; duration: Kirigami.Units.longDuration }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue