Move graph breadcrumb trail button into the top bar

This commit is contained in:
Keavon Chambers
2024-07-15 19:53:26 -07:00
parent 857bc772de
commit 8e774efe9d
8 changed files with 25 additions and 41 deletions

View File

@@ -68,7 +68,7 @@ pub enum GraphicElement {
VectorData(Box<VectorData>),
/// A bitmap image with a finite position and extent, equivalent to the SVG <image> tag: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
ImageFrame(ImageFrame<Color>),
/// A Canvas evement
/// A Canvas element
Surface(SurfaceFrame),
}

View File

@@ -1280,7 +1280,6 @@ impl NodeNetwork {
NodeInput::Value { .. } => unreachable!("Value inputs should have been replaced with value nodes"),
NodeInput::Inline(_) => (),
NodeInput::Scope(ref key) => {
log::debug!("flattening scope: {}", key);
let (import_id, _ty) = self.scope_injections.get(key.as_ref()).expect("Tried to import a non existent key from scope");
// TODO use correct output index
nested_node.inputs[nested_input_index] = NodeInput::node(*import_id, 0);