From 6854063d0be705455ae39f9c9e69871d2ba280b7 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Fri, 3 Mar 2023 09:47:58 -0800 Subject: [PATCH] Revert "Avoid tab bar background activating an item at the end of a tab drag" --- crates/workspace/src/pane.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs index 3c9ad1f6b0..22df4de7c4 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(),