Canvas opacity instead of css
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user