fix: sidebar close anim & gap w/ utilities

Don't exclude each other when not flush to fix close overshoot not
looking right
Also increase sidebar height by 2 instead of 1 to fix gap
This commit is contained in:
2 * r + 2 * t 2026-03-28 00:49:48 +11:00
parent 5a4dbf1300
commit 611f8de400

View file

@ -166,8 +166,8 @@ Variants {
panel: panels.sidebar
bar: bar
deformAmount: 0
height: panel.height + 1
exclude: [utilsBg]
height: panel.height + 2
exclude: panels.sidebar.offsetScale > 0 ? [] : [utilsBg]
bottomLeftRadius: panels.sidebar.visible ? 0 : radius
Behavior on bottomLeftRadius {
@ -202,7 +202,7 @@ Variants {
blobGroup: blobGroup
panel: panels.utilities
bar: bar
exclude: [sidebarBg]
exclude: panels.sidebar.offsetScale > 0 ? [] : [sidebarBg]
topLeftRadius: panels.sidebar.visible ? 0 : radius
Behavior on topLeftRadius {