Improve drag and drop to look and feel better
WIP: Change rendering of drag and drop based on alt-modifier
This commit is contained in:
parent
9bff3b6916
commit
f3b91082a6
5 changed files with 102 additions and 21 deletions
|
@ -1383,7 +1383,7 @@ impl Pane {
|
|||
let theme = theme::current(cx).clone();
|
||||
|
||||
let detail = detail.clone();
|
||||
move |dragged_item: &DraggedItem, cx: &mut ViewContext<Workspace>| {
|
||||
move |_, dragged_item: &DraggedItem, cx: &mut ViewContext<Workspace>| {
|
||||
let tab_style = &theme.workspace.tab_bar.dragged_tab;
|
||||
Self::render_dragged_tab(
|
||||
&dragged_item.handle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue