background: fix clock going out of the screen vertically

This commit is contained in:
end-4
2025-08-12 16:24:45 +07:00
parent 10b2cf2662
commit 3eb1dd3180
3 changed files with 72 additions and 26 deletions
@@ -116,10 +116,7 @@ Scope {
bottom: Appearance.sizes.barHeight
left: (mediaControlsRoot.screen.width / 2) - (osdWidth / 2) - widgetWidth
}
implicitWidth: {
console.log(root.widgetWidth)
return root.widgetWidth
}
implicitWidth: root.widgetWidth
implicitHeight: playerColumnLayout.implicitHeight
color: "transparent"
WlrLayershell.namespace: "quickshell:mediaControls"