Revert "Store a z-index id per-layer (#4128)"

This reverts commit 28a2337218, reversing
changes made to e992f84735.
This commit is contained in:
Conrad Irwin 2024-01-18 13:28:23 -07:00
parent 81baefb460
commit 6c2da0d25b
7 changed files with 45 additions and 46 deletions

View file

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