Revert "Store a z-index id per-layer (#4128)"
This reverts commit28a2337218, reversing changes made toe992f84735.
This commit is contained in:
@@ -20,7 +20,7 @@ pub enum ElevationIndex {
|
||||
}
|
||||
|
||||
impl ElevationIndex {
|
||||
pub fn z_index(self) -> u16 {
|
||||
pub fn z_index(self) -> u8 {
|
||||
match self {
|
||||
ElevationIndex::Background => 0,
|
||||
ElevationIndex::Surface => 42,
|
||||
|
||||
Reference in New Issue
Block a user