Changed toggle visibility text from hide to show/hide

This commit is contained in:
orangemug 2018-05-31 20:40:21 +01:00
parent 019428a241
commit f5e8d473ad

View file

@ -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: {