king
2023-06-21 59271e4c863abe2fb4562e30549e1c5e3acdde8f
src/menu/stylecontroller/styleInput/index.jsx
@@ -105,6 +105,7 @@
  }
  changeValue = (e) => {
    const { clear } = this.props
    const { unit } = this.state
    let val = e.target.value
@@ -126,7 +127,7 @@
    if (this.props.onChange) {
      if (!_val) {
        this.props.onChange('0px')
        this.props.onChange(clear ? '' : '0px')
      } else {
        this.props.onChange(`${_val}${unit}`)
      }