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.

Revert "Avoid tab bar background activating an item at the end of a tab drag"

Nate Butler6854063d0be7
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs
index 3c9ad1f6b07..22df4de7c46 100644
--- a/crates/workspace/src/pane.rs
+++ b/crates/workspace/src/pane.rs
@@ -1438,7 +1438,7 @@ impl View for Pane {
.with_style(theme.workspace.tab_bar.container)
.boxed()
})
- .on_down(MouseButton::Left, move |_, cx| {
+ .on_click(MouseButton::Left, move |_, cx| {
cx.dispatch_action(ActivateItem(active_item_index));
})
.boxed(),