From fbbef5ead2f15ae70ccd24b69efebf97ac2e65ac Mon Sep 17 00:00:00 2001 From: Felix Palmer Date: Fri, 11 Oct 2024 11:21:36 +0200 Subject: [PATCH] Minimal fix to correct behavior in deck --- modules/webgl/src/adapter/webgl-canvas-context.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/webgl/src/adapter/webgl-canvas-context.ts b/modules/webgl/src/adapter/webgl-canvas-context.ts index f79b46fa86..772a70e69d 100644 --- a/modules/webgl/src/adapter/webgl-canvas-context.ts +++ b/modules/webgl/src/adapter/webgl-canvas-context.ts @@ -53,10 +53,6 @@ export class WebGLCanvasContext extends CanvasContext { resize(options?: {width?: number; height?: number; useDevicePixels?: boolean | number}): void { if (!this.device.gl) return; - if (this.props.autoResize) { - return; - } - // Resize browser context. TODO - this likely needs to be rewritten if (this.canvas) { const devicePixelRatio = this.getDevicePixelRatio(options?.useDevicePixels);