Skip to content

Commit

Permalink
Update overlayproperties.js (#1789)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd authored Jun 20, 2023
1 parent d7966ef commit 59c42e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controls/legend/overlayproperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const OverlayProperties = function OverlayProperties(options = {}) {
});
},
onRender() {
viewer.getControlByName('legend').dispatch('renderOverlayProperties', { cmp: this, layer });
this.dispatch('render');
sliderEl = document.getElementById(transparencySlider.getId());
overlayEl = document.getElementById(this.getId());
Expand Down

0 comments on commit 59c42e3

Please sign in to comment.