summaryrefslogtreecommitdiff
path: root/components/IRect.qml
blob: 383affa891e9baae32cb8a53b984bbbafb11db8e (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 {
        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
        }
    }
}