diff --git a/src/renderer/canvas/canvas-renderer.ts b/src/renderer/canvas/canvas-renderer.ts index 6b0dec1..9265d93 100644 --- a/src/renderer/canvas/canvas-renderer.ts +++ b/src/renderer/canvas/canvas-renderer.ts @@ -134,7 +134,7 @@ export class CanvasRenderer extends Em } // Change DPR from automatic to manual handling or change DPR value manually - if (!isNumber(previousDprValue) && isNumber(newDprValue) && newDprValue !== previousDprValue) { + if (!isNumber(previousDprValue) && isNumber(newDprValue)) { this._dprObserveUnsubscribe?.(); this._resize(); }