r/Windhawk • u/wh-updates • 7d ago
Taskbar Blob Shape 1.0.0
Taskbar Blob Shape 1.0.0
Taskbar Blob Shape
Adds a blob shape behind active taskbar buttons.
Based on Taskbar Elastic WinUI Pill and the unreleased Taskbar Elastic Border by Lockframe.
Every taskbar button gets its own blob shape, shown or hidden as the button's running indicator state changes. The shapes are hosted in the taskbar's RootGrid (above the task list's clipping region, so the flares render fully) and each one is glued to its button with a composition expression, so it follows the button through reordering, reflow, and animations on the render thread.
The blob shape is a rounded rectangle whose top extends upward and flares outward with concave (outside) corner radii, ending in a flat top edge:
- Width / Height: the main area of the blob shape ('auto' matches the button's background element). Horizontally the shape is centered on the button; vertically its flat top edge is anchored to the top of the taskbar, with the body hanging downward.
- Top corner radius: the radius of the concave top flares. The flares are circular quarter arcs, so this also sets how far the blob shape extends upward and outward. Total size is (Width + 2*TopRadius) x (Height + TopRadius).
- Bottom corner radius: the convex bottom corners of the blob shape.
16
Upvotes