Skip to content

Commit

Permalink
fix(geometryLayer): fix opacity magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Oct 10, 2024
1 parent cb96727 commit a5120f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layer/GeometryLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class GeometryLayer extends Layer {
configurable: true,
});

this.opacity = 1.0;
this.opacity = config.opacity ?? 1.0;
this.wireframe = false;

this.attachedLayers = [];
Expand Down

0 comments on commit a5120f0

Please sign in to comment.