diff options
author | Devine Lu Linvega <[email protected]> | 2019-03-16 15:19:57 +0900 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2019-03-16 15:19:57 +0900 |
commit | 53eb1d6bfa36c97679a200a1174bf9c85f08ba7c (patch) | |
tree | 972d24bd63256adcd866381e77f601aa96cb4e2c | |
parent | 95dc8f1ed979cedffb1d3011e68bfdbe03acc504 (diff) | |
download | Orca-53eb1d6bfa36c97679a200a1174bf9c85f08ba7c.tar.gz Orca-53eb1d6bfa36c97679a200a1174bf9c85f08ba7c.zip |
Fixed y axis for Q & G
-rw-r--r-- | desktop/core/library/g.js | 2 | ||||
-rw-r--r-- | desktop/core/library/q.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/core/library/g.js b/desktop/core/library/g.js index 4ecde87..8981ae7 100644 --- a/desktop/core/library/g.js +++ b/desktop/core/library/g.js @@ -18,7 +18,7 @@ function OperatorG (orca, x, y, passive) { const y = this.listen(this.ports.haste.y, true) + 1 for (let i = 0; i < len; i++) { - const port = { x: i + 1, y: 0, unlock: true } + const port = { x: i + 1, y: y, unlock: true } this.ports.input[`val${i}`] = port const res = this.listen(port) diff --git a/desktop/core/library/q.js b/desktop/core/library/q.js index f73ec77..38d5305 100644 --- a/desktop/core/library/q.js +++ b/desktop/core/library/q.js @@ -18,7 +18,7 @@ function OperatorQ (orca, x, y, passive) { const y = this.listen(this.ports.haste.y, true) for (let i = 1; i <= len; i++) { - const port = { x: x + i, y: 0, unlock: true } + const port = { x: x + i, y: y, unlock: true } this.ports.input[`val${i}`] = port orca.lock(this.x + port.x, this.y + port.y) const res = this.listen(this.ports.input[`val${i}`]) |