Skip to content

Commit d71e8d6

Browse files
committed
Prevent unintentional style update
1 parent 3bc1f95 commit d71e8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/RenderPipeline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class RenderPipeline implements Disposable, Renderable, Resizable {
153153
value.autoClear = false;
154154

155155
// Updating the pixel ratio also triggers onResolutionChange.
156-
this.resolution.pixelRatio = value.getPixelRatio();
156+
this.setPixelRatio(value.getPixelRatio());
157157

158158
if(this.passes.length > 0) {
159159

0 commit comments

Comments
 (0)