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:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user