Merge branch 'main' into n/t2

This commit is contained in:
Nate Butler 2023-11-02 11:02:55 -04:00
commit 3b91a76159
71 changed files with 2217 additions and 2376 deletions

View file

@ -51,7 +51,7 @@ impl<V: 'static> Pane<V> {
.id("drag-target")
.drag_over::<ExternalPaths>(|d| d.bg(red()))
.on_drop(|_, files: View<ExternalPaths>, cx| {
dbg!("dropped files!", files.read(cx));
eprintln!("dropped files! {:?}", files.read(cx));
})
.absolute()
.inset_0(),

View file

@ -129,7 +129,7 @@ impl Tab {
.on_drag(move |_view, cx| cx.build_view(|cx| drag_state.clone()))
.drag_over::<TabDragState>(|d| d.bg(cx.theme().colors().element_drop_target))
.on_drop(|_view, state: View<TabDragState>, cx| {
dbg!(state.read(cx));
eprintln!("{:?}", state.read(cx));
})
.px_2()
.py_0p5()