Merge branch 'main' into sharing

This commit is contained in:
Tissevert 2022-08-04 22:38:47 +02:00
commit e06b31087a
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ return {
function colorize(row, column, color) {
var grid = Grid.get();
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);
}

View file

@ -32,5 +32,5 @@ function tool() {
}
function color() {
return 'color' + colors.selectedIndex;
return colors.selectedIndex;
}