Store a z-index id per-layer

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Julia
2024-01-18 13:24:25 -05:00
co-authored by Nathan Sobo
parent 7b9e7fea4e
commit bc2302f723
7 changed files with 46 additions and 45 deletions
+1 -1
View File
@@ -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,