forked from Shinonome/dots-hyprland
bar: resolve some warnings
This commit is contained in:
@@ -60,7 +60,6 @@ Scope {
|
|||||||
property real lastScrollX: 0
|
property real lastScrollX: 0
|
||||||
property real lastScrollY: 0
|
property real lastScrollY: 0
|
||||||
property bool trackingScroll: false
|
property bool trackingScroll: false
|
||||||
anchors.fill: leftSection
|
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
propagateComposedEvents: true
|
propagateComposedEvents: true
|
||||||
@@ -279,7 +278,7 @@ Scope {
|
|||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
Revealer {
|
Revealer {
|
||||||
reveal: Audio.sink?.audio?.muted
|
reveal: Audio.sink?.audio?.muted ?? false
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.rightMargin: reveal ? indicatorsRowLayout.realSpacing : 0
|
Layout.rightMargin: reveal ? indicatorsRowLayout.realSpacing : 0
|
||||||
Behavior on Layout.rightMargin {
|
Behavior on Layout.rightMargin {
|
||||||
@@ -296,7 +295,7 @@ Scope {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Revealer {
|
Revealer {
|
||||||
reveal: Audio.source?.audio?.muted
|
reveal: Audio.source?.audio?.muted ?? false
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.rightMargin: reveal ? indicatorsRowLayout.realSpacing : 0
|
Layout.rightMargin: reveal ? indicatorsRowLayout.realSpacing : 0
|
||||||
Behavior on Layout.rightMargin {
|
Behavior on Layout.rightMargin {
|
||||||
|
|||||||
Reference in New Issue
Block a user