diff options
author | neauoire <[email protected]> | 2020-01-02 13:26:29 -0500 |
---|---|---|
committer | neauoire <[email protected]> | 2020-01-02 13:26:29 -0500 |
commit | 5017e6f428c2000c2ab53147fe4de351f2fc00b1 (patch) | |
tree | b6563fb1295d1b1143b7b8b75123a2163171943e /desktop | |
parent | 5faf79f5c8e2b7a9a2cd4499dcef06a99243157d (diff) | |
download | Orca-5017e6f428c2000c2ab53147fe4de351f2fc00b1.tar.gz Orca-5017e6f428c2000c2ab53147fe4de351f2fc00b1.zip |
Fixed issue with write
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/sources/scripts/commander.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js index 6e6aa6b..a6fe83c 100644 --- a/desktop/sources/scripts/commander.js +++ b/desktop/sources/scripts/commander.js @@ -62,7 +62,10 @@ function Commander (client) { client.orca.writeBlock(origin ? origin.x : client.cursor.x, origin ? origin.y : client.cursor.y, block) client.cursor.scaleTo(0, 0) }, - write: (p) => { client.cursor.select(p._x, p._y, p._str.length); client.orca.writeBlock(p._str) } + write: (p) => { + client.cursor.select(p._x, p._y, p._str.length) + client.orca.writeBlock(p._x, p._y, p._str) + } } // Make shorthands |