Store a z-index id per-layer

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Julia 2024-01-18 10:59:23 -05:00
parent 5b906e731d
commit 2c3d9805a4
9 changed files with 50 additions and 49 deletions

View file

@ -12,7 +12,7 @@ pub trait Styled: Sized {
gpui_macros::style_helpers!();
fn z_index(mut self, z_index: u8) -> Self {
fn z_index(mut self, z_index: u16) -> Self {
self.style().z_index = Some(z_index);
self
}