Function behind_panel
pub fn behind_panel(
scene: &mut Scene,
transform: Affine,
window: Rect,
panel: RoundedRect,
theme: &Theme,
)Expand description
Dim only the background around a modal’s foreground. Floating material records the scene behind it for blur, so dimming underneath the panel would also darken the material a foreground control stands on.