Skip to content

Commit

Permalink
fix: upgrade @versatiles/style
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Jan 24, 2025
1 parent 2a1f016 commit 9140372
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 110 deletions.
3 changes: 2 additions & 1 deletion frontends/style-selector/style-selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export class StyleSelector {
}

private updateStyle() {
this.map.setStyle(this.currentStyle(this.config));
const style = this.currentStyle(this.config);
this.map.setStyle(style);
}

private onDocumentClickHandler(event: MouseEvent) {
Expand Down
Loading

0 comments on commit 9140372

Please sign in to comment.