Fix offscreen-canvas example

This commit is contained in:
Andreas Hocevar
2021-09-18 10:30:34 +02:00
parent e5193ffa6e
commit 35b3262e0b

View File

@@ -88,6 +88,9 @@ function loadStyles() {
this.context = context; this.context = context;
this.container = { this.container = {
firstElementChild: canvas, firstElementChild: canvas,
style: {
opacity: layer.getOpacity(),
},
}; };
rendererTransform = transform; rendererTransform = transform;
}; };