mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 20:23:27 +01:00
Swap layer visibility icons.
This commit is contained in:
parent
805133d10c
commit
f1216795d2
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class LayerListItem extends React.Component {
|
|||
/>
|
||||
<IconAction
|
||||
wdKey={"layer-list-item:"+this.props.layerId+":toggle-visibility"}
|
||||
action={this.props.visibility === 'visible' ? 'hide' : 'show'}
|
||||
action={this.props.visibility === 'visible' ? 'show' : 'hide'}
|
||||
onClick={e => this.props.onLayerVisibilityToggle(this.props.layerId)}
|
||||
/>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue