diff options
Diffstat (limited to 'modules/bar/popouts/Content.qml')
| -rw-r--r-- | modules/bar/popouts/Content.qml | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml index c10348c..6b65f56 100644 --- a/modules/bar/popouts/Content.qml +++ b/modules/bar/popouts/Content.qml @@ -23,7 +23,12 @@ Item { Popout { name: "activewindow" - sourceComponent: ActiveWindow {} + source: "ActiveWindow.qml" + } + + Popout { + name: "battery" + source: "Battery.qml" } } @@ -51,25 +56,25 @@ Item { active: shouldBeActive asynchronous: true - Behavior on active { - SequentialAnimation { - Anim { - target: popout - property: "opacity" - from: popout.shouldBeActive ? 1 : 0 - to: popout.shouldBeActive ? 0 : 1 - duration: popout.shouldBeActive ? 0 : Appearance.anim.durations.normal - } - PropertyAction {} - Anim { - target: popout - property: "opacity" - from: popout.shouldBeActive ? 0 : 1 - to: popout.shouldBeActive ? 1 : 0 - duration: popout.shouldBeActive ? Appearance.anim.durations.normal : 0 - } - } - } + // Behavior on active { + // SequentialAnimation { + // Anim { + // target: popout + // property: "opacity" + // from: popout.shouldBeActive ? 1 : 0 + // to: popout.shouldBeActive ? 0 : 1 + // duration: popout.shouldBeActive ? 0 : Appearance.anim.durations.normal + // } + // PropertyAction {} + // Anim { + // target: popout + // property: "opacity" + // from: popout.shouldBeActive ? 0 : 1 + // to: popout.shouldBeActive ? 1 : 0 + // duration: popout.shouldBeActive ? Appearance.anim.durations.normal : 0 + // } + // } + // } } component Anim: NumberAnimation { |