aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNiels Janssen <[email protected]>2020-11-09 21:41:17 +0100
committerNiels Janssen <[email protected]>2020-11-09 21:41:17 +0100
commit54d377b28fb1d0f5c1600117061d2be6e475a25d (patch)
tree5689d2277922176e3a1b696dae2fca59ac050fa8
parent7e520805a29a8e2421636ab7dfe1384683017d12 (diff)
downloadOrca-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--.gitignore1
-rw-r--r--desktop/sources/scripts/core/library.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 5e380f1..ec6db33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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