Parse the opacity from style as float
This commit is contained in:
@@ -252,7 +252,7 @@ class WebGLPointsLayerRenderer extends LayerRenderer {
|
||||
const canvas = this.helper_.getCanvas();
|
||||
|
||||
const opacity = layerState.opacity;
|
||||
if (opacity !== canvas.style.opacity) {
|
||||
if (opacity !== parseFloat(canvas.style.opacity)) {
|
||||
canvas.style.opacity = opacity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user