You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to disable the canvas to simulate the 'back' of a sketchbook on which you shouldn't be able to write . An underlying image is swapped to see the back of the drawing pad but after sketchpad.readOnly = true, you can still write on the canvas. I've created a workaround by setting sketchpad.color = 'rgba(255,255,255,0)'; so the pen becomes invisible (thanks to jeanleonino) .
As a test I've created a very minimalistic html source:
I'm trying to disable the canvas to simulate the 'back' of a sketchbook on which you shouldn't be able to write . An underlying image is swapped to see the back of the drawing pad but after sketchpad.readOnly = true, you can still write on the canvas. I've created a workaround by setting sketchpad.color = 'rgba(255,255,255,0)'; so the pen becomes invisible (thanks to jeanleonino) .
As a test I've created a very minimalistic html source:
This created a canvas on which you can write. Is my interpretation of readOnly incorrect or is this truly a bug?
The text was updated successfully, but these errors were encountered: