diff options
Diffstat (limited to 'desktop/sources/scripts/terminal.js')
-rw-r--r-- | desktop/sources/scripts/terminal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/sources/scripts/terminal.js b/desktop/sources/scripts/terminal.js index 0ba04f4..8d24ca5 100644 --- a/desktop/sources/scripts/terminal.js +++ b/desktop/sources/scripts/terminal.js @@ -121,9 +121,9 @@ function Terminal () { this.isMarker = function (x, y) { return x % this.grid.w === 0 && y % this.grid.h === 0 } - + this.isHelper = function (x, y) { - return y === 0 && this.cursor.x === x || x === 0 && this.cursor.y === y || y === this.orca.h - 1 && this.cursor.x === x || x === this.orca.w - 1 && this.cursor.y === y + return (y === 0 && this.cursor.x === x) || (x === 0 && this.cursor.y === y) || (y === this.orca.h - 1 && this.cursor.x === x) || (x === this.orca.w - 1 && this.cursor.y === y) } this.portAt = function (x, y) { |