Merge pull request #2237 from zed-industries/revert-2232-tab-bar-background-focus-drag

Nate Butler created

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

Change summary

crates/workspace/src/pane.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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(),