Skip to content

Commit 1b1f890

Browse files
committed
And should be done
1 parent 5a29f5c commit 1b1f890

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/variety/tasquare.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,19 @@
9797
qanscolor: "black",
9898
numbercolor_func: "qnum",
9999

100+
setRange: function(x1, y1, x2, y2) {
101+
var puzzle = this.puzzle,
102+
bd = puzzle.board;
103+
if (puzzle.execConfig("autocmp")) {
104+
x1 = bd.minbx - 2;
105+
y1 = bd.minby - 2;
106+
x2 = bd.maxbx + 2;
107+
y2 = bd.maxby + 2;
108+
}
109+
110+
this.common.setRange.call(this, x1, y1, x2, y2);
111+
},
112+
100113
paint: function() {
101114
this.drawBGCells();
102115
this.drawShadedCells();

0 commit comments

Comments
 (0)