From 8da5acdb3dced9b4430addbc7cb2800a928eeb19 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 10 Sep 2025 21:30:54 +1000 Subject: launcher: not full rounding + better anim --- modules/launcher/AppList.qml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'modules/launcher/AppList.qml') 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: { -- cgit v1.2.3-freya