Commit f28707fd authored by Mathias Chouet's avatar Mathias Chouet :spaghetti:
Browse files

#211 : links to other parameters are not linkable anymore

Showing with 4 additions and 1 deletion
+4 -1
...@@ -474,7 +474,10 @@ export abstract class Nub extends ComputeNode implements IObservable { ...@@ -474,7 +474,10 @@ export abstract class Nub extends ComputeNode implements IObservable {
// trick to expose p a a result of the parent Nub // trick to expose p a a result of the parent Nub
res.push(new LinkedValue(this.parent, p, p.symbol)); res.push(new LinkedValue(this.parent, p, p.symbol));
} else { } else {
res.push(new LinkedValue(this, p, p.symbol)); // do not suggest parameters that are already linked to another one
if (p.valueMode !== ParamValueMode.LINK) {
res.push(new LinkedValue(this, p, p.symbol));
}
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment