mirror of
https://github.com/maputnik/editor.git
synced 2026-01-06 13:30:03 +00:00
Changed toggle visibility text from hide to show/hide
This commit is contained in:
@@ -220,7 +220,7 @@ export default class LayerEditor extends React.Component {
|
|||||||
handler: () => this.props.onLayerCopy(this.props.layer.id)
|
handler: () => this.props.onLayerCopy(this.props.layer.id)
|
||||||
},
|
},
|
||||||
hide: {
|
hide: {
|
||||||
text: "Hide",
|
text: (this.props.layer.layout.visibility === "visible") ? "Hide" : "Show",
|
||||||
handler: () => this.props.onLayerVisibilityToggle(this.props.layer.id)
|
handler: () => this.props.onLayerVisibilityToggle(this.props.layer.id)
|
||||||
},
|
},
|
||||||
moveLayerUp: {
|
moveLayerUp: {
|
||||||
|
|||||||
Reference in New Issue
Block a user