Skip to content

Commit

Permalink
chore(web): fix visible state (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya01 committed Oct 19, 2023
1 parent 5760230 commit ba4382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/beta/lib/core/engines/Cesium/Feature/index.tsx
Expand Up @@ -172,7 +172,7 @@ export default function Feature({
<>
{displayType.map(k => {
const [C] = components[k] ?? [];
const isVisible = layer.layer.visible == false && !isHidden;
const isVisible = layer.layer.visible !== false && !isHidden;
// NOTE: IBL for 3dtiles is not updated unless Tileset feature component is re-created.
const useSceneSphericalHarmonicCoefficients =
!!props.sceneProperty?.light?.sphericalHarmonicCoefficients;
Expand Down

0 comments on commit ba4382d

Please sign in to comment.