Fix recent typo in comment

This commit is contained in:
Daniel Imms
2018-01-29 07:42:59 -08:00
parent f2fe8ca08b
commit 69ebb3e53e
+1 -1
View File
@@ -65,7 +65,7 @@ export abstract class BaseRenderLayer implements IRenderLayer {
// Create new canvas and replace old one
const oldCanvas = this._canvas;
this._alpha = alpha;
// Closing preserves properties
// Cloning preserves properties
this._canvas = <HTMLCanvasElement>this._canvas.cloneNode();
this._initCanvas();
this._container.replaceChild(this._canvas, oldCanvas);