Timothy Guan-tin Chien
Timothy Guan-tin Chien
DId it work outside of Promise/setTimeout? It’s unlikey that it breaks just because it’s in a Promise/setTimeout.
Probably because the list itself is faulty. If you post it here people will be able to see what's wrong.
> Looks like you need to give the div with the id 'my_canvas' a defined dimensions (w + h). Could you please add this into your usage? It's obvious but...
This is a bug due to the fact the grid does not cover the entire canvas. `getInfoGridFromMouseTouchEvent` should not throw but return a undefined `info` struct instead. It's harmless though...
Could you submit a pull request? Thanks.
Can you submit a pull request?
@jun2mar Could you share your mask image?
Look like it is indeed a bug. I am not entirely sure when I will get to it though. However if you do `backgroundColor: 'rgba(255,255,255,0,01)'` you'll be able to workaround...
There is no "BitView" for the array, the smallest unit is Uint8View. Not sure r/w a byte 8 times is faster than r/w a boolean in an normal array item.
maybe wasting 7 bit for each grid space is not that bad ...