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

widgets: fix some 0-width issues

This commit is contained in:
bbedward
2025-11-14 19:26:51 -05:00
parent 52fe493da9
commit 929b6dae1a
11 changed files with 359 additions and 119 deletions

View File

@@ -88,6 +88,8 @@ BasePill {
return activeWindow && activeWindow.title
}
width: hasWindowsOnCurrentWorkspace ? (isVerticalOrientation ? barThickness : visualWidth) : 0
height: hasWindowsOnCurrentWorkspace ? (isVerticalOrientation ? visualHeight : barThickness) : 0
visible: hasWindowsOnCurrentWorkspace
content: Component {

View File

@@ -91,8 +91,8 @@ Item {
}
}
width: isVertical ? barThickness : calculatedSize
height: isVertical ? calculatedSize : barThickness
width: windowCount > 0 ? (isVertical ? barThickness : calculatedSize) : 0
height: windowCount > 0 ? (isVertical ? calculatedSize : barThickness) : 0
visible: windowCount > 0