Store a z-index id per-layer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
5b906e731d
commit
2c3d9805a4
9 changed files with 50 additions and 49 deletions
|
@ -4326,7 +4326,7 @@ impl Element for DisconnectedOverlay {
|
|||
overlay: &mut Self::State,
|
||||
cx: &mut ElementContext,
|
||||
) {
|
||||
cx.with_z_index(u8::MAX, |cx| {
|
||||
cx.with_z_index(u16::MAX, |cx| {
|
||||
cx.add_opaque_layer(bounds);
|
||||
overlay.paint(cx);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue