Skip to content

feat(ui): clip widget contents to vector paths - #114

Merged
azelarin merged 2 commits into
mainfrom
feat/path-clips-current
Nov 1, 2026
Merged

azelarin merged 2 commits into
mainfrom
feat/path-clips-current

Conversation

@azelarin

@azelarin azelarin commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

style.clip accepts a vector path alongside bounds and rounded. the path
clips descendants and their shadows, and shapes pointer, wheel, and cursor
queries. fit modes and winding rules support stretched shapes and holes;
the widget's own background, border, and shadow keep their existing behavior.

paths are fitted once per layout and share a surface geometry limit, including
offscreen descendants. input queries reuse shared clip checks. layout and
raster tests cover transforms, scrolling, holes, shadows, and limits; a private
wayland test checks clicks, wheel events, and cursors through a hole.
guarded opengl and vulkan fixtures check the gallery at normal and fractional
scale and after reload. workspace tests, strict clippy and rustdoc, tool tests,
and both luau checker modes pass.

@azelarin azelarin added the enhancement New feature or request label Nov 1, 2026
@azelarin azelarin self-assigned this Nov 1, 2026
@azelarin
azelarin marked this pull request as ready for review November 1, 2026 12:33
@azelarin
azelarin merged commit 008893c into main Nov 1, 2026
5 checks passed
@azelarin
azelarin deleted the feat/path-clips-current branch November 1, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant