Skip to content

Commit

Permalink
Fix layer checkboxes, regressed in a31bf07
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Nov 21, 2024
1 parent a31bf07 commit d30bb66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ui/sections/data_layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ export function uiSectionDataLayers(context) {
// Update
li
.merge(liEnter)
.classed('active', d => d.enabled)
.classed('active', d => showsLayer(d.id))
.selectAll('input')
.property('checked', d => d.enabled);
.property('checked', d => showsLayer(d.id));
}


Expand Down

0 comments on commit d30bb66

Please sign in to comment.