Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make z_indices bigger in StackingOrder
Nathan Sobo3d1dae9a0610
diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rsindex d43263f8157..e3b1cb4eb52 100644--- a/crates/gpui2/src/window.rs+++ b/crates/gpui2/src/window.rs@@ -46,7 +46,7 @@ const ACTIVE_DRAG_Z_INDEX: u8 = 1;pub struct StackingOrder {#[deref]#[deref_mut]- z_indices: SmallVec<[u8; 32]>,+ z_indices: SmallVec<[u8; 64]>,}impl Default for StackingOrder {