From 54d377b28fb1d0f5c1600117061d2be6e475a25d Mon Sep 17 00:00:00 2001 From: Niels Janssen Date: Mon, 9 Nov 2020 21:41:17 +0100 Subject: 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) --- .gitignore | 1 + desktop/sources/scripts/core/library.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3