1
0
Fork 0
forked from wry/wry

autocommit 2022-04-28 20:33:24 CEST

This commit is contained in:
Julian Orth 2022-04-28 20:33:24 +02:00
parent 1242a6c1e1
commit ed0beb8ff5
10 changed files with 122 additions and 72 deletions

View file

@ -175,6 +175,7 @@ impl State {
struct Walker;
impl NodeVisitorBase for Walker {
fn visit_container(&mut self, node: &Rc<ContainerNode>) {
// log::info!("set_render_ctx");
node.schedule_compute_render_data();
node.node_visit_children(self);
}
@ -204,6 +205,7 @@ impl State {
}
pub fn tree_changed(&self) {
// log::info!("state.tree_changed\n{:?}", Backtrace::new());
if self.tree_changed_sent.replace(true) {
return;
}