Fix wire tool only working in the upper-left quadrant
This commit is contained in:
parent
00ac94ac8c
commit
fea93aa9ec
@ -682,7 +682,7 @@ class WireOperation extends DrawOperation {
|
|||||||
for (let [qx, qy] of walk_grid(
|
for (let [qx, qy] of walk_grid(
|
||||||
this.gx1f * 4, this.gy1f * 4, gxf * 4, gyf * 4,
|
this.gx1f * 4, this.gy1f * 4, gxf * 4, gyf * 4,
|
||||||
// See comment in iter_touched_cells
|
// 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) {
|
if (prevqx === null || prevqy === null) {
|
||||||
prevqx = qx;
|
prevqx = qx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user