homescreens/halcyon: Fix list highlight within folder

This commit is contained in:
Devin Lin 2023-04-19 22:18:05 -07:00
parent c6ec8606c5
commit 2603f461e6

View file

@ -1,12 +1,13 @@
// SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
import QtQuick as QQ
import QtQuick
import org.kde.plasma.extras as PlasmaExtras
QQ.GridView {
GridView {
id: root
currentIndex: -1
maximumFlickVelocity: 5000
@ -20,7 +21,7 @@ QQ.GridView {
property var leftEdgeCallback: null
property var rightEdgeCallback: null
QQ.Keys.onPressed: event => {
Keys.onPressed: event => {
if (!currentItem) {
return;
}
@ -69,7 +70,7 @@ QQ.GridView {
}
}
QQ.Component {
Component {
id: highlightComponent
PlasmaExtras.Highlight {}