Open kaldrenon opened 5 years ago
I too have experienced this problem.
kaldrenon, using ctx._clearCanvas() should work! mind you thats 2 ""s
Yup, this is definitely unexpected behavior.
The Mozilla docs state that clearRect should set the pixels in the area to transparent back.
Why set to white when clearCanvas exists?
A clear HTML5 canvas should have nothing on it. In my usage, calling ```ctx.clearRect(0, 0, this.canvasWidth, this.canvasHeight)