From 3d1dae9a0610c4b023cd348e01c57001c04d8396 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 14 Dec 2023 11:37:48 -0700 Subject: [PATCH] Make z_indices bigger in StackingOrder --- crates/gpui2/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rs index d43263f815749eb66d55760e935721bb1d781c88..e3b1cb4eb523cbdca8df63e96a47024f60958e50 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 {