We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8afc90b commit d273cddCopy full SHA for d273cdd
src/neighborhoodSquareDrawer.js
@@ -307,7 +307,7 @@ module.exports = class NeighborhoodDrawer extends Drawer {
307
* @param grid the parent element we will add svg elements to
308
* @param id the row and column we're on in id form
309
*/
310
- pathCalculator(cellColorList, grid, id) {
+ colorCells(cellColorList, grid, id) {
311
let size = this.squareSize;
312
313
let topLeft = cellColorList[0];
@@ -468,7 +468,7 @@ module.exports = class NeighborhoodDrawer extends Drawer {
468
let grid = this.makeGrid(r, c, this.svg_);
469
470
// Calculate all the svg paths based on neighboring cell colors
471
- this.pathCalculator(cells, grid, id);
+ this.colorCells(cells, grid, id);
472
}
473
474
0 commit comments