Skip to content

Commit 12387b6

Browse files
committed
Fix fist opacity change
1 parent 2d7c586 commit 12387b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/elements/ngm-map-configuration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ export class NgmMapConfiguration extends LitElementI18n {
7070
this.viewer!.scene.globe.translucency.frontFaceAlpha = opacity;
7171
if (!this.viewer!.scene.globe.translucency.enabled) {
7272
this.viewer!.scene.globe.translucency.enabled = true;
73+
// first change fix
74+
setTimeout(() => this.viewer!.scene.requestRender(), 100);
7375
}
7476
}
7577
this.viewer!.scene.requestRender();

0 commit comments

Comments
 (0)