diff options
author | Niels Janssen <[email protected]> | 2020-11-09 21:41:17 +0100 |
---|---|---|
committer | Niels Janssen <[email protected]> | 2020-11-09 21:41:17 +0100 |
commit | 54d377b28fb1d0f5c1600117061d2be6e475a25d (patch) | |
tree | 5689d2277922176e3a1b696dae2fca59ac050fa8 | |
parent | 7e520805a29a8e2421636ab7dfe1384683017d12 (diff) | |
download | Orca-54d377b28fb1d0f5c1600117061d2be6e475a25d.tar.gz Orca-54d377b28fb1d0f5c1600117061d2be6e475a25d.zip |
Operator V output port is now visually marked as an output port
Added .vscode directory to .gitignore to ignore VSCode files (e.g. launch.json)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | desktop/sources/scripts/core/library.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,3 +2,4 @@ node_modules/ builds/ .DS_Store */.DS_Store +.vscode/
\ No newline at end of file diff --git a/desktop/sources/scripts/core/library.js b/desktop/sources/scripts/core/library.js index 9319ec1..8939466 100644 --- a/desktop/sources/scripts/core/library.js +++ b/desktop/sources/scripts/core/library.js @@ -395,7 +395,7 @@ library.v = function OperatorV (orca, x, y, passive) { const write = this.listen(this.ports.write) const read = this.listen(this.ports.read) if (write === '.' && read !== '.') { - this.addPort('output', { x: 0, y: 1 }) + this.addPort('output', { x: 0, y: 1, output: true }) } if (write !== '.') { orca.variables[write] = read |