summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-20 15:45:06 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-20 15:45:06 +0800
commit4167bdc70e55926f57e8710b74dc860fd1fc2a1c (patch)
treed9b1e1c9ba912aa7a33c16a9358bd1837c0e052d /components
parent3beb5d7ac893f7dc9dca74cde40fa8f1986f51fc (diff)
Rect: use IRect with color animation
Diffstat (limited to 'components')
-rw-r--r--components/IRect.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/IRect.qml b/components/IRect.qml
new file mode 100644
index 0000000..e5733bf
--- /dev/null
+++ b/components/IRect.qml
@@ -0,0 +1,11 @@
+import QtQuick
+import qs.config
+
+Rectangle {
+ Behavior on color {
+ ColorAnimation {
+ duration: General.animationDuration
+ easing.type: Easing.InOutQuad
+ }
+ }
+}