Merge branch 'main' into go-to-line3

This commit is contained in:
Conrad Irwin 2023-11-07 14:44:45 -07:00
commit ae2d0f1fa1
6 changed files with 157 additions and 15 deletions

View file

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