1
0
Fork 0
forked from wry/wry

tree: fix visiting output children

This commit is contained in:
Julian Orth 2025-12-21 15:42:26 +01:00
parent 12ec0e6502
commit 510f49e7bc
2 changed files with 8 additions and 3 deletions

View file

@ -212,6 +212,10 @@ pub trait Node: 'static {
fn node_location(&self) -> Option<NodeLocation>;
fn node_layer(&self) -> NodeLayerLink;
fn node_output_id(&self) -> Option<OutputNodeId> {
self.node_output().map(|o| o.id)
}
fn node_child_title_changed(self: Rc<Self>, child: &dyn Node, title: &str) {
let _ = child;
let _ = title;