1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-03 20:18:31 -04:00

listview: workaround delegates overlapping and make spotlight launcher

have a stable anchor

port 1.5

(cherry picked from commit 2cb48aaf6b)
This commit is contained in:
bbedward
2026-07-13 12:30:10 -04:00
committed by dms-ci[bot]
parent e9d958b32b
commit b3a129af2f
5 changed files with 72 additions and 59 deletions
@@ -217,20 +217,6 @@ Item {
pressDelay: 0
flickableDirection: Flickable.VerticalFlick
states: [
State {
name: "snap"
when: Theme.snapListModelChanges
PropertyChanges {
target: clipboardListView
add: null
remove: null
displaced: null
move: null
}
}
]
function ensureVisible(index) {
if (index < 0 || index >= count) {
return;
@@ -293,20 +279,6 @@ Item {
pressDelay: 0
flickableDirection: Flickable.VerticalFlick
states: [
State {
name: "snap"
when: Theme.snapListModelChanges
PropertyChanges {
target: savedListView
add: null
remove: null
displaced: null
move: null
}
}
]
function ensureVisible(index) {
if (index < 0 || index >= count) {
return;