mapMaker Add Row button doesn't work
Closed this issue · 7 comments
I was able to get the Add Column button to work, but the Add Row button doesn't seem to do anything?
I will also look into this
@hmuhammadazeem he is saying that when in mapmaker.html pressing add row doesnt do anything
I think the issue is that when you create a new row, it doesnt append to the map so when let pixelElement = map[row][col]
it breaks due to that
check #22
The other issue is to change the map accordingly, because if you make a change and then you do add column/row the map resets, but this allows to add rows
I fixed the adding of the row is working as the issue intended with #22 , the changing of the map accordingly should be another issue, I think. But I think I could also work on that
Thanks. I’ll close this issue then. I should’ve known that it was just an “index out of range” issue, but it was throwing a weird error message that confused me.