Upgrade to Blitz 0.1.0-alpha.4 (#4335)
* Use new replace_node_with name for replace_placeholder_with_nodes * Setup tracing for wgpu-texture support * Use asset macro in wgpu-texture example * Use src attribute rather than data for canvas source Signed-off-by: Nico Burns <nico@nicoburns.com> * Upgrade to blitz 0.1.0-alpha.4 Signed-off-by: Nico Burns <nico@nicoburns.com> --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
1 parent
2071be2b67
commit
6eba7e8641
6 files changed
+69
-62
No files matched your search
@@ -149,8 +149,7 @@ impl WriteMutations for MutationWriter<'_> {
|
||||
// the stack and then "load_child" reads from the top of the stack.
|
||||
let new_node_ids = self.state.m_stack_nodes(m);
|
||||
let anchor_node_id = self.load_child(path);
|
||||
self.docm
|
||||
.replace_placeholder_with_nodes(anchor_node_id, &new_node_ids);
|
||||
self.docm.replace_node_with(anchor_node_id, &new_node_ids);
|
||||
}
|
||||
|
||||
fn remove_node(&mut self, id: ElementId) {
|
||||
|
||||
Reference in new issue
Block a user