diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 028a3f0..8d179ff 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -1213,19 +1213,18 @@ in function stubX(dd) { return Math.round(Math.min(bar.width - Theme.frameWidth - stubW, Math.max(Theme.frameWidth, dd.dropdownX - stubW / 2))); } - // Flush dropdowns keep their right edge welded to the - // frame column: they grow down-and-left from a stub - // parked at the column and shrink back into it. (x and - // width share one animation curve, so x+width — the right - // edge — is constant mid-flight.) + // All dropdowns grow from / shrink to their own widget — + // flush ones melt onto the frame column as they expand + // (the SDF chrome makes that junction liquid, so the old + // corner-parked seed workaround is unnecessary). function seedFromButton(dd) { snap = true; - tX = dd.alignRight ? bar.width - Theme.frameWidth - stubW : stubX(dd); + tX = stubX(dd); tW = stubW; snap = false; } function shrinkToButton(dd) { - tX = dd.alignRight ? bar.width - Theme.frameWidth - stubW : stubX(dd); + tX = stubX(dd); tW = stubW; }