Merge pull request #74 from CSnap/clear_fix

Clear Button Fix
This commit is contained in:
Chris Willis-Ford
2017-01-25 09:51:57 -05:00
committed by GitHub

View File

@@ -89,6 +89,7 @@ class PenSkin extends Skin {
clear () {
const ctx = this._canvas.getContext('2d');
ctx.clearRect(0, 0, this._canvas.width, this._canvas.height);
this._canvasDirty = true;
}
/**