Prevent clobbering of label when bounds are set
parent
442a7fdc21
commit
c5ce2e4707
|
@ -96,7 +96,9 @@ class CellEditorOverlay extends Component {
|
|||
const {min, max} = e.target.form
|
||||
const {axes} = this.state
|
||||
|
||||
this.setState({axes: {...axes, y: {bounds: [min.value, max.value]}}})
|
||||
this.setState({
|
||||
axes: {...axes, y: {...axes.y, bounds: [min.value, max.value]}},
|
||||
})
|
||||
e.preventDefault()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue