Skip to content

Commit 2f8808e

Browse files
committed
fix typo
1 parent f800e80 commit 2f8808e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RenderWebGL.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ class RenderWebGL extends EventEmitter {
929929
this._debugCanvas.width = bounds.width;
930930
this._debugCanvas.height = bounds.height;
931931
const context = this._debugCanvas.getContext('2d');
932-
const imageData = context.getImageData(0, 0, bounds.width, bounds.heigh);
932+
const imageData = context.getImageData(0, 0, bounds.width, bounds.height);
933933
imageData.data.set(pixels);
934934
context.putImageData(imageData, 0, 0);
935935
}

0 commit comments

Comments
 (0)