Merge branch 'main' into sharing
This commit is contained in:
commit
e06b31087a
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ return {
|
||||||
function colorize(row, column, color) {
|
function colorize(row, column, color) {
|
||||||
var grid = Grid.get();
|
var grid = Grid.get();
|
||||||
grid.data[row][column] = color || Toolbox.color();
|
grid.data[row][column] = color || Toolbox.color();
|
||||||
Grid.cell(row, column).className = grid.data[row][column];
|
Grid.cell(row, column).className = 'color' + grid.data[row][column];
|
||||||
grid.missing.remove(row, column);
|
grid.missing.remove(row, column);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,5 +32,5 @@ function tool() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function color() {
|
function color() {
|
||||||
return 'color' + colors.selectedIndex;
|
return colors.selectedIndex;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue