FIX: Dynamically adjust scale when rendering wizard canvases

This was a typo in fd0de64
This commit is contained in:
David Taylor 2019-05-08 13:14:28 +01:00
parent 24346e4612
commit b717e23ceb
1 changed files with 1 additions and 1 deletions

View File

@ -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();
},