set canvas to dirty when clearing pen canvas

This commit is contained in:
SillyInventor 2017-01-24 19:44:47 -05:00
parent abd76720ee
commit ea786aa4bd

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;
}
/**