diff --git a/src/gl/graphics.ts b/src/gl/graphics.ts index 5983e57a7..71bda0f61 100644 --- a/src/gl/graphics.ts +++ b/src/gl/graphics.ts @@ -476,7 +476,7 @@ export namespace WebGL { const bounds = canvas.getBoundingClientRect() if ( - this._width === widthInAppUnits && + this._width === widthInPixels && this._height === heightInPixels && bounds.width === widthInAppUnits && bounds.height === heightInAppUnits