Merge settings window to main #23
+2
-1
@@ -129,7 +129,7 @@ Variants {
|
|||||||
Binding {
|
Binding {
|
||||||
property: "bar"
|
property: "bar"
|
||||||
target: visibilities
|
target: visibilities
|
||||||
value: visibilities.sidebar || visibilities.dashboard || visibilities.osd || visibilities.notif || visibilities.resources
|
value: visibilities.sidebar || visibilities.dashboard || visibilities.osd || visibilities.notif || visibilities.resources || visibilities.settings || bar.isHovered
|
||||||
when: Config.barConfig.autoHide
|
when: Config.barConfig.autoHide
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,6 +146,7 @@ Variants {
|
|||||||
|
|
||||||
Border {
|
Border {
|
||||||
bar: bar
|
bar: bar
|
||||||
|
visibilities: visibilities
|
||||||
}
|
}
|
||||||
|
|
||||||
Backgrounds {
|
Backgrounds {
|
||||||
|
|||||||
@@ -11,12 +11,13 @@ Item {
|
|||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property Item bar
|
required property Item bar
|
||||||
|
required property PersistentProperties visibilities
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
CustomRect {
|
CustomRect {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: !root.bar.isHovered && Config.barConfig.autoHide ? "transparent" : DynamicColors.palette.m3surface
|
color: DynamicColors.palette.m3surface
|
||||||
layer.enabled: true
|
layer.enabled: true
|
||||||
|
|
||||||
layer.effect: MultiEffect {
|
layer.effect: MultiEffect {
|
||||||
|
|||||||
Reference in New Issue
Block a user