1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

de-dupe the pills

This commit is contained in:
bbedward
2025-10-02 12:48:21 -04:00
parent aaca31276b
commit 730300d211
3 changed files with 6 additions and 57 deletions

View File

@@ -59,7 +59,7 @@ Item {
width: isVertical ? (hasVerticalPill ? verticalPill.width : 0) : (hasHorizontalPill ? horizontalPill.width : 0)
height: isVertical ? (hasVerticalPill ? verticalPill.height : 0) : (hasHorizontalPill ? horizontalPill.height : 0)
BaseHorizontalPill {
BasePill {
id: horizontalPill
visible: !isVertical && hasHorizontalPill
axis: root.axis
@@ -76,7 +76,7 @@ Item {
}
}
BaseVerticalPill {
BasePill {
id: verticalPill
visible: isVertical && hasVerticalPill
axis: root.axis
@@ -86,6 +86,7 @@ Item {
widgetThickness: root.widgetThickness
barThickness: root.barThickness
content: root.verticalBarPill
isVerticalOrientation: true
onClicked: {
if (hasPopout) {
pluginPopout.toggle()