Preserve opaque interiors of rounded window surfaces

This commit is contained in:
Samuel Onoja committed 2026-10-02 02:47:04 +01:00
1 parent 95c8940008
commit 3d6cee125d
3 files changed
+85 -4

No files matched your search

+1
View File
@@ -414,6 +414,7 @@ pub(super) fn rounded_window_elements(
clip_rect: clip,
radius,
clip_changed,
opaque_clip: matches!(behavior, ConstrainScaleBehavior::CutOff).then_some(physical_constrain),
}
.into()
}