Question about canvas, when I run this code: ```va...
# kvision
s
Question about canvas, when I run this code:
Copy code
val canvas = Canvas(1000,200)
add(canvas)
canvasStore.subscribe {
    // draw the canvas
}
I'm getting an error in my browser console that the canvas context2D isn't initialized. If I tie the draw function onto a button it runs fine, but cannot get it it to work when trying to
subscribe