diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 18:58:29 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 18:58:29 +1000 |
| commit | 1d3b59e33d2819a20aa7cb6b1170e9dceadcfacf (patch) | |
| tree | 8e788dea2b1231be1c21955c83502fe33c010266 /modules | |
| parent | drawers: fix interaction areas (diff) | |
| download | caelestia-shell-1d3b59e33d2819a20aa7cb6b1170e9dceadcfacf.tar.gz caelestia-shell-1d3b59e33d2819a20aa7cb6b1170e9dceadcfacf.tar.bz2 caelestia-shell-1d3b59e33d2819a20aa7cb6b1170e9dceadcfacf.zip | |
bar: fix popout wrapping and morphing
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/drawers/Backgrounds.qml | 2 | ||||
| -rw-r--r-- | modules/drawers/Panels.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml index c6628ae..df8d2eb 100644 --- a/modules/drawers/Backgrounds.qml +++ b/modules/drawers/Backgrounds.qml @@ -55,7 +55,7 @@ Shape { BarPopouts.Background { wrapper: panels.popouts - invertBottomRounding: wrapper.y + wrapper.height - BorderConfig.rounding >= root.height + invertBottomRounding: wrapper.y + wrapper.height >= root.height startX: 0 startY: wrapper.y - rounding diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml index 0fb76d5..b127031 100644 --- a/modules/drawers/Panels.qml +++ b/modules/drawers/Panels.qml @@ -82,7 +82,7 @@ Item { anchors.verticalCenter: parent.top anchors.verticalCenterOffset: { const off = Popouts.currentCenter - BorderConfig.thickness; - const diff = root.height - Math.floor(off + implicitHeight / 2 - BorderConfig.rounding); + const diff = root.height - Math.floor(off + implicitHeight / 2); if (diff < 0) return off + diff; return off; |