mirror of
https://github.com/maputnik/editor.git
synced 2026-06-22 23:27:26 +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
|
<IconAction
|
||||||
wdKey={"layer-list-item:"+this.props.layerId+":toggle-visibility"}
|
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)}
|
onClick={e => this.props.onLayerVisibilityToggle(this.props.layerId)}
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user