We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa3a1d5 commit 573c9ffCopy full SHA for 573c9ff
packages/image/src/core/Renderer.ts
@@ -70,6 +70,8 @@ export class Renderer extends EventEmitter {
70
canvas.height = height * this.ratio;
71
canvas.style.width = `${width}px`;
72
canvas.style.height = `${height}px`;
73
+ this.options.width = width;
74
+ this.options.height = height;
75
76
this.ctx?.scale(this.ratio, this.ratio);
77
}
0 commit comments