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