Fix layer renderer scope issues

This commit is contained in:
Andreas Hocevar
2020-04-14 20:55:55 +02:00
parent 6426cd10dc
commit bcc94baf22
6 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ class CanvasImageLayerRenderer extends CanvasLayerRenderer {
const img = image.getImage();
const transform = composeTransform(
this.tempTransform_,
this.tempTransform,
width / 2,
height / 2,
scale,