diff --git a/crates/workspace/src/sidebar.rs b/crates/workspace/src/sidebar.rs index 5aec332913420cc8beeab4a071b7a95468919d6b..9aaf2b832ab49d6f44ca5fd3293c15f12574aa7f 100644 --- a/crates/workspace/src/sidebar.rs +++ b/crates/workspace/src/sidebar.rs @@ -165,6 +165,7 @@ impl Sidebar { ..Default::default() }) .with_cursor_style(CursorStyle::ResizeLeftRight) + .on_mouse_down(|_, _| {}) // This prevents the mouse down event from being propagated elsewhere .on_drag(move |delta, cx| { let prev_width = *actual_width.borrow(); *custom_width.borrow_mut() = 0f32