Dock: autoformatting
This commit is contained in:
parent
809f16c27e
commit
ac43b6d78a
1 changed files with 15 additions and 7 deletions
|
|
@ -46,7 +46,7 @@ Variants {
|
||||||
|
|
||||||
// Bar detection and positioning properties
|
// Bar detection and positioning properties
|
||||||
readonly property bool hasBar: modelData.name ? (Settings.data.bar.monitors.includes(modelData.name)
|
readonly property bool hasBar: modelData.name ? (Settings.data.bar.monitors.includes(modelData.name)
|
||||||
|| (Settings.data.bar.monitors.length === 0)) : false
|
|| (Settings.data.bar.monitors.length === 0)) : false
|
||||||
readonly property bool barAtBottom: hasBar && Settings.data.bar.position === "bottom"
|
readonly property bool barAtBottom: hasBar && Settings.data.bar.position === "bottom"
|
||||||
readonly property bool barAtTop: hasBar && Settings.data.bar.position === "top"
|
readonly property bool barAtTop: hasBar && Settings.data.bar.position === "top"
|
||||||
readonly property int barHeight: (barAtBottom || barAtTop) ? (Settings.data.bar.height || 30) * scaling : 0
|
readonly property int barHeight: (barAtBottom || barAtTop) ? (Settings.data.bar.height || 30) * scaling : 0
|
||||||
|
|
@ -328,8 +328,16 @@ Variants {
|
||||||
SequentialAnimation on opacity {
|
SequentialAnimation on opacity {
|
||||||
running: isActive
|
running: isActive
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
NumberAnimation { to: 0.6; duration: Style.animationSlowest; easing.type: Easing.InOutQuad }
|
NumberAnimation {
|
||||||
NumberAnimation { to: 1.0; duration: Style.animationSlowest; easing.type: Easing.InOutQuad }
|
to: 0.6
|
||||||
|
duration: Style.animationSlowest
|
||||||
|
easing.type: Easing.InOutQuad
|
||||||
|
}
|
||||||
|
NumberAnimation {
|
||||||
|
to: 1.0
|
||||||
|
duration: Style.animationSlowest
|
||||||
|
easing.type: Easing.InOutQuad
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue