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}`) }