mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +00:00
Merge pull request #2232 from zed-industries/tab-bar-background-focus-drag
Avoid tab bar background activating an item at the end of a tab drag
This commit is contained in:
commit
bc2ea58c6a
1 changed files with 1 additions and 1 deletions
|
@ -1438,7 +1438,7 @@ impl View for Pane {
|
||||||
.with_style(theme.workspace.tab_bar.container)
|
.with_style(theme.workspace.tab_bar.container)
|
||||||
.boxed()
|
.boxed()
|
||||||
})
|
})
|
||||||
.on_click(MouseButton::Left, move |_, cx| {
|
.on_down(MouseButton::Left, move |_, cx| {
|
||||||
cx.dispatch_action(ActivateItem(active_item_index));
|
cx.dispatch_action(ActivateItem(active_item_index));
|
||||||
})
|
})
|
||||||
.boxed(),
|
.boxed(),
|
||||||
|
|
Loading…
Reference in a new issue