cleanup + fixes
This commit is contained in:
@@ -168,7 +168,7 @@ CustomMouseArea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onResourcesChanged() {
|
function onResourcesChanged() {
|
||||||
if (root.visibilities.resources && root.popouts.currentName.startsWith("audio")) {
|
if (root.visibilities.resources && (root.popouts.currentName.startsWith("audio") || root.popouts.currentName.startsWith("updates"))) {
|
||||||
root.popouts.hasCurrent = false;
|
root.popouts.hasCurrent = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ CustomListView {
|
|||||||
implicitHeight: root.currentItem?.implicitHeight ?? 0
|
implicitHeight: root.currentItem?.implicitHeight ?? 0
|
||||||
implicitWidth: root.width
|
implicitWidth: root.width
|
||||||
opacity: 0.08
|
opacity: 0.08
|
||||||
radius: 8
|
radius: Appearance.rounding.smallest
|
||||||
y: root.currentItem?.y ?? 0
|
y: root.currentItem?.y ?? 0
|
||||||
|
|
||||||
Behavior on y {
|
Behavior on y {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ ShapePath {
|
|||||||
id: root
|
id: root
|
||||||
|
|
||||||
readonly property bool flatten: wrapper.height < rounding * 2
|
readonly property bool flatten: wrapper.height < rounding * 2
|
||||||
readonly property real rounding: Config.barConfig.rounding + 5
|
readonly property real rounding: Appearance.rounding.smallest + 5
|
||||||
readonly property real roundingY: flatten ? wrapper.height / 2 : rounding
|
readonly property real roundingY: flatten ? wrapper.height / 2 : rounding
|
||||||
required property Wrapper wrapper
|
required property Wrapper wrapper
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Item {
|
|||||||
root.modelData?.onClicked(root.list);
|
root.modelData?.onClicked(root.list);
|
||||||
}
|
}
|
||||||
|
|
||||||
radius: Appearance.rounding.normal
|
radius: Appearance.rounding.smallest
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Item {
|
|||||||
root.onClicked();
|
root.onClicked();
|
||||||
}
|
}
|
||||||
|
|
||||||
radius: Appearance.rounding.normal
|
radius: Appearance.rounding.smallest
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ Item {
|
|||||||
root.modelData?.onClicked(root.list);
|
root.modelData?.onClicked(root.list);
|
||||||
}
|
}
|
||||||
|
|
||||||
radius: Appearance.rounding.normal
|
radius: Appearance.rounding.smallest
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ Item {
|
|||||||
max -= panels.resources.nonAnimHeight;
|
max -= panels.resources.nonAnimHeight;
|
||||||
if (visibilities.dashboard && panels.dashboard.x < root.x + root.implicitWidth)
|
if (visibilities.dashboard && panels.dashboard.x < root.x + root.implicitWidth)
|
||||||
max -= panels.dashboard.nonAnimHeight;
|
max -= panels.dashboard.nonAnimHeight;
|
||||||
|
if (panels.popouts.currentName.startsWith("updates"))
|
||||||
|
max -= panels.popouts.nonAnimHeight;
|
||||||
return max;
|
return max;
|
||||||
}
|
}
|
||||||
required property var panels
|
required property var panels
|
||||||
|
|||||||
Reference in New Issue
Block a user