summaryrefslogtreecommitdiff
path: root/components/IRect.qml
blob: 5f9a86fcb6e31cf64cdcbb61b4863addc2614596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import QtQuick
import qs.config

Rectangle {
	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
		}
	}
}