From b0b030096b25d79713e8c65890c88c19e3ffe05c Mon Sep 17 00:00:00 2001 From: gjq Date: Mon, 10 Apr 2023 14:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=A8=E5=B1=8F=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=A0=87=E7=AD=BE=E8=B7=9F=E9=9A=8F=E6=BB=91=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/AppUI/FullScreenContent.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qml/AppUI/FullScreenContent.qml b/qml/AppUI/FullScreenContent.qml index 06de44c..f61109f 100644 --- a/qml/AppUI/FullScreenContent.qml +++ b/qml/AppUI/FullScreenContent.qml @@ -389,6 +389,17 @@ RowLayout { } } + onContentYChanged: { + if (contentYAnimation.running) { + return + } + if ((contentY + height) === contentHeight) { + labelListView.currentIndex = labelRepeater.count - 1 + return + } + labelListView.currentIndex = labelColumn.childAt(contentX,contentY).labelIndex + } + NumberAnimation { id: contentYAnimation target: labelViewFlickable