Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Don't render split drag targets in the dock

Max Brunsfeldb90e1012bf50
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs
index 618c650e02a..bd355b8b3e7 100644
--- a/crates/workspace/src/pane.rs
+++ b/crates/workspace/src/pane.rs
@@ -1452,7 +1452,11 @@ impl View for Pane {
0,
self.active_item_index + 1,
false,
- Some(100.),
+ if self.docked.is_some() {
+ None
+ } else {
+ Some(100.)
+ },
cx,
{
let toolbar = self.toolbar.clone();