Store a z-index id per-layer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
5b906e731d
commit
2c3d9805a4
9 changed files with 50 additions and 49 deletions
|
@ -20,7 +20,7 @@ pub enum ElevationIndex {
|
|||
}
|
||||
|
||||
impl ElevationIndex {
|
||||
pub fn z_index(self) -> u8 {
|
||||
pub fn z_index(self) -> u16 {
|
||||
match self {
|
||||
ElevationIndex::Background => 0,
|
||||
ElevationIndex::Surface => 42,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue