No context sharing when layer opacity is set

This commit is contained in:
Andreas Hocevar
2021-11-05 11:34:32 +01:00
parent 6e5e94a447
commit 58806aaec1
2 changed files with 3 additions and 16 deletions
-13
View File
@@ -150,19 +150,6 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
this.clipping = true;
}
/**
* Get a rendering container from an existing target, if compatible.
* @param {HTMLElement} target Potential render target.
* @param {string} transform CSS Transform.
* @param {number} opacity Opacity.
*/
useContainer(target, transform, opacity) {
if (opacity < 1) {
target = null;
}
super.useContainer(target, transform, opacity);
}
/**
* @param {ExecutorGroup} executorGroup Executor group.
* @param {import("../../PluggableMap.js").FrameState} frameState Frame state.