Canvas opacity instead of css

This commit is contained in:
ahocevar
2019-05-22 11:53:38 +02:00
parent 7895b16043
commit c56ad4363d
5 changed files with 22 additions and 18 deletions
+10
View File
@@ -67,6 +67,16 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
this.replayGroupChanged = true;
}
/**
* @inheritDoc
*/
useContainer(target, transform) {
if (this.getLayer().getOpacity() < 1) {
target = null;
}
super.useContainer(target, transform);
}
/**
* @inheritDoc
*/