summaryrefslogtreecommitdiff
path: root/modules/launcher/AppList.qml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/launcher/AppList.qml19
1 files changed, 16 insertions, 3 deletions
diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml
index f5c3846..dc9f4cc 100644
--- a/modules/launcher/AppList.qml
+++ b/modules/launcher/AppList.qml
@@ -27,13 +27,26 @@ StyledListView {
orientation: Qt.Vertical
implicitHeight: (Config.launcher.sizes.itemHeight + spacing) * Math.min(Config.launcher.maxShown, count) - spacing
- highlightMoveDuration: Appearance.anim.durations.normal
- highlightResizeDuration: 0
+ preferredHighlightBegin: 0
+ preferredHighlightEnd: height
+ highlightRangeMode: ListView.ApplyRange
+ highlightFollowsCurrentItem: false
highlight: StyledRect {
- radius: Appearance.rounding.full
+ radius: Appearance.rounding.normal
color: Colours.palette.m3onSurface
opacity: 0.08
+
+ y: root.currentItem?.y ?? 0
+ implicitWidth: root.width
+ implicitHeight: root.currentItem?.implicitHeight ?? 0
+
+ Behavior on y {
+ Anim {
+ duration: Appearance.anim.durations.expressiveDefaultSpatial
+ easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
+ }
+ }
}
state: {