From fea93aa9ece4d1ba13a4063130be943b7cf89790 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Mon, 14 Dec 2020 17:32:48 -0700 Subject: [PATCH] Fix wire tool only working in the upper-left quadrant --- js/main-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main-editor.js b/js/main-editor.js index 3b0f00a..12f44b7 100644 --- a/js/main-editor.js +++ b/js/main-editor.js @@ -682,7 +682,7 @@ class WireOperation extends DrawOperation { for (let [qx, qy] of walk_grid( this.gx1f * 4, this.gy1f * 4, gxf * 4, gyf * 4, // See comment in iter_touched_cells - -1, -1, this.editor.stored_level.size_x * 2, this.editor.stored_level.size_y * 2)) + -1, -1, this.editor.stored_level.size_x * 4, this.editor.stored_level.size_y * 4)) { if (prevqx === null || prevqy === null) { prevqx = qx;