mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 00:20:00 +00:00
Merge pull request #390 from orangemug/fix/switch-visibility-icons
Switch visibility icons
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user