mirror of
https://github.com/maputnik/editor.git
synced 2026-11-28 12:54:20 +00:00
Changed toggle visibility text from hide to show/hide
This commit is contained in:
1 parent
019428a241
commit
f5e8d473ad
1 file changed
+1
-1
@@ -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