Get project2 tests green
This commit is contained in:
parent
401ddc6f49
commit
53066df522
5 changed files with 31 additions and 23 deletions
|
@ -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(),
|
||||
|
|
|
@ -130,7 +130,7 @@ impl Tab {
|
|||
.on_drag(move |_view, cx| cx.build_view(|cx| drag_state.clone()))
|
||||
.drag_over::<TabDragState>(|d| d.bg(black()))
|
||||
.on_drop(|_view, state: View<TabDragState>, cx| {
|
||||
dbg!(state.read(cx));
|
||||
eprintln!("{:?}", state.read(cx));
|
||||
})
|
||||
.px_2()
|
||||
.py_0p5()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue