Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Fixes #1896 Updated texture when changing themes (#1898)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com>
  • Loading branch information
nzjony committed Oct 13, 2020
1 parent 7ad6a6a commit 69af4d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @here/harp-mapview/lib/MapView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4211,6 +4211,7 @@ export class MapView extends EventDispatcher {
}
if (this.m_skyBackground !== undefined) {
this.m_skyBackground.updateTexture(sky, this.projection.type);
this.m_scene.background = this.m_skyBackground?.texture;
}
}

Expand Down

0 comments on commit 69af4d1

Please sign in to comment.