Allow specifying a custom height for stacking contexts
This commit is contained in:
parent
2055f05b09
commit
dfe2fd0386
6 changed files with 21 additions and 10 deletions
|
@ -48,7 +48,7 @@ where
|
|||
.map(|(dir, margin)| dir.along_edge(bounds, margin))
|
||||
.unwrap_or(bounds);
|
||||
|
||||
cx.paint_stacking_context(None, |cx| {
|
||||
cx.paint_stacking_context(None, None, |cx| {
|
||||
cx.scene.push_quad(Quad {
|
||||
bounds: overlay_region,
|
||||
background: Some(overlay_color(cx)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue