Revert "Store a z-index id per-layer (#4128)"
This reverts commit28a2337218
, reversing changes made toe992f84735
.
This commit is contained in:
parent
81baefb460
commit
6c2da0d25b
7 changed files with 45 additions and 46 deletions
|
@ -76,7 +76,7 @@ impl Styles for Div {}
|
|||
|
||||
#[derive(IntoElement)]
|
||||
struct ZIndexExample {
|
||||
z_index: u16,
|
||||
z_index: u8,
|
||||
}
|
||||
|
||||
impl RenderOnce for ZIndexExample {
|
||||
|
@ -166,7 +166,7 @@ impl RenderOnce for ZIndexExample {
|
|||
}
|
||||
|
||||
impl ZIndexExample {
|
||||
pub fn new(z_index: u16) -> Self {
|
||||
pub fn new(z_index: u8) -> Self {
|
||||
Self { z_index }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue