Merge remote-tracking branch 'origin/main' into perf-2
This commit is contained in:
commit
02606d1fb9
34 changed files with 822 additions and 1270 deletions
|
@ -2552,12 +2552,11 @@ impl CollabPanel {
|
|||
.group("")
|
||||
.flex()
|
||||
.w_full()
|
||||
.on_drag({
|
||||
let channel = channel.clone();
|
||||
move |cx| {
|
||||
let channel = channel.clone();
|
||||
cx.build_view(|cx| DraggedChannelView { channel, width })
|
||||
}
|
||||
.on_drag(channel.clone(), move |channel, cx| {
|
||||
cx.build_view(|cx| DraggedChannelView {
|
||||
channel: channel.clone(),
|
||||
width,
|
||||
})
|
||||
})
|
||||
.drag_over::<DraggedChannelView>(|style| {
|
||||
style.bg(cx.theme().colors().ghost_element_hover)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue