Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed Mar 5, 2025
1 parent dbb2a60 commit f867c3f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ export class DataLayer<
this.handleSettingsChange();
})
);

this._unsubscribeHandler.registerUnsubscribeFunction(
"layer-manager",
layerManager.getPublishSubscribeDelegate().makeSubscriberFunction(LayerManagerTopic.GLOBAL_SETTINGS_CHANGED)(() => {
this.handleSettingsChange();
})
);
}

handleSettingsChange(): void {
Expand Down

0 comments on commit f867c3f

Please sign in to comment.