mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 23:50:02 +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)
|
||||
},
|
||||
hide: {
|
||||
text: "Hide",
|
||||
text: (this.props.layer.layout.visibility === "visible") ? "Hide" : "Show",
|
||||
handler: () => this.props.onLayerVisibilityToggle(this.props.layer.id)
|
||||
},
|
||||
moveLayerUp: {
|
||||
|
||||
Reference in New Issue
Block a user