Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/accessibility/gridOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ function _gridMap(idT, ingredients) {

// Check if shape is in canvas, skip if not
if(
ingredients[x][y].loc.locY >= 0 &&
ingredients[x][y].loc.locY < cells.length &&
ingredients[x][y].loc.locX >= 0 &&
ingredients[x][y].loc.locX < cells[ingredients[x][y].loc.locY].length
){
//if empty cell of location of shape is undefined
Expand Down