Tidy up z-index handling

Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
Kirill Bulatov 2023-12-19 23:36:32 +02:00
parent f6d31917c1
commit cf12d62fc5
10 changed files with 31 additions and 182 deletions

View file

@ -105,8 +105,7 @@ impl Render for Toolbar {
v_stack()
.p_1()
.gap_2()
// todo!() use a proper constant here (ask Marshall & Nate)
.z_index(80)
.z_index(80) // todo!("z-index")
.border_b()
.border_color(cx.theme().colors().border_variant)
.bg(cx.theme().colors().toolbar_background)