From 0a185efcc5538cbcbd4f96bc0b5db1c9b34fd69b Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 20 Mar 2026 23:49:33 +0100 Subject: [PATCH] Revert "hefty: bar: fix popup bg getting clipped" nvm that sloppy calculation made it worse --- .../modules/hefty/topLayer/bar/HBarWidgetShapeBackground.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/HBarWidgetShapeBackground.qml b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/HBarWidgetShapeBackground.qml index db4762fe8..0d7b8622a 100644 --- a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/HBarWidgetShapeBackground.qml +++ b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/HBarWidgetShapeBackground.qml @@ -111,12 +111,12 @@ Shapes.ShapeCanvas { } } width: { - if (!vertical) return bgShape.showPopup ? Math.max(backgroundWidth, popupWidth + popupContentOffsetX * 2) : backgroundWidth; + if (!vertical) return bgShape.showPopup ? Math.max(backgroundWidth, popupWidth) : backgroundWidth; else return bgShape.showPopup ? (containerShape.width + popupShape.width + bgShape.spacing) : containerShape.width; } height: { if (!vertical) return bgShape.showPopup ? (containerShape.height + popupShape.height + bgShape.spacing) : containerShape.height; - else return bgShape.showPopup ? Math.max(backgroundHeight, popupHeight + popupContentOffsetY * 2) : backgroundHeight; + else return bgShape.showPopup ? Math.max(backgroundHeight, popupHeight) : backgroundHeight; } property bool popupHiding: false onShowPopupChanged: popupHiding = true