Skip to content

Commit 84b3c90

Browse files
committed
rename passthrough
1 parent faf8ded commit 84b3c90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

editor/src/messages/portfolio/document/node_graph/document_node_definitions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
8585
let custom = vec![
8686
// TODO: Auto-generate this from its proto node macro
8787
DocumentNodeDefinition {
88-
identifier: "Pass Through",
88+
identifier: "Passthrough",
8989
category: "General",
9090
node_template: NodeTemplate {
9191
document_node: DocumentNode {
@@ -2071,7 +2071,7 @@ fn static_node_properties() -> NodeProperties {
20712071
map.insert("sample_polyline_properties".to_string(), Box::new(node_properties::sample_polyline_properties));
20722072
map.insert(
20732073
"pass_through_properties".to_string(),
2074-
Box::new(|_node_id, _context| node_properties::string_properties("The Pass Through node can be used to organize wires.")),
2074+
Box::new(|_node_id, _context| node_properties::string_properties("The Passthrough node can be used to organize wires.")),
20752075
);
20762076
map.insert(
20772077
"monitor_properties".to_string(),

frontend/src/components/floating-menus/NodeCatalog.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
// Quick and dirty hack to alias "Layer" to "Merge" in the search
5555
const layerAliasMatch = node.name === "Merge" && "layer".includes(term);
5656
57-
// Alias "Identity" to "Pass Through"
58-
const identityAliasMatch = node.name === "Pass Through" && "identity".includes(term);
57+
// Alias "Identity" to "Passthrough"
58+
const identityAliasMatch = node.name === "Passthrough" && "identity".includes(term);
5959
6060
return nameMatch || categoryMatch || layerAliasMatch || identityAliasMatch;
6161
});

0 commit comments

Comments
 (0)