From f7a43077fe4e139dd7e3f46f448e0951740ec148 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 2 Sep 2026 18:26:45 +0800 Subject: fix: qmlfmt IListView: animation --- components/IRect.qml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'components/IRect.qml') diff --git a/components/IRect.qml b/components/IRect.qml index a72b564..5f9a86f 100644 --- a/components/IRect.qml +++ b/components/IRect.qml @@ -2,18 +2,18 @@ import QtQuick import qs.config Rectangle { - Behavior on color { - ColorAnimation { - duration: General.animationDuration - easing.type: Easing.InOutQuad - } - } + Behavior on color { + ColorAnimation { + duration: General.animationDuration + easing.type: Easing.InOutQuad + } + } - // TODO: use visible instead of opacity for perf, but we need to animate the opacity then set visible - Behavior on opacity { - NumberAnimation { - duration: General.animationDuration - easing.type: Easing.InOutQuad - } - } + // TODO: use visible instead of opacity for perf, but we need to animate the opacity then set visible + Behavior on opacity { + NumberAnimation { + duration: General.animationDuration + easing.type: Easing.InOutQuad + } + } } -- cgit v1.2.3