Store a z-index id per-layer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
7b9e7fea4e
commit
bc2302f723
7 changed files with 46 additions and 45 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue