FIX: Dynamically adjust scale when rendering wizard canvases
This was a typo in fd0de64
This commit is contained in:
parent
24346e4612
commit
b717e23ceb
|
@ -45,7 +45,7 @@ export function createPreviewComponent(width, height, obj) {
|
|||
this._super(...arguments);
|
||||
const c = this.$("canvas")[0];
|
||||
this.ctx = c.getContext("2d");
|
||||
this.ctx.scale(2, 2);
|
||||
this.ctx.scale(scale, scale);
|
||||
this.reload();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue