Store AnyViewHandle inside ViewHandle and Deref to it
This commit is contained in:
parent
59fb4b3d29
commit
82a713fd1d
32 changed files with 154 additions and 204 deletions
|
@ -5753,7 +5753,7 @@ impl Editor {
|
|||
render: Arc::new({
|
||||
let editor = rename_editor.clone();
|
||||
move |cx: &mut BlockContext| {
|
||||
ChildView::new(editor.clone(), cx)
|
||||
ChildView::new(&editor, cx)
|
||||
.contained()
|
||||
.with_padding_left(cx.anchor_x)
|
||||
.boxed()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue