fix(CurveEditor): error when copy/pasting eases
This commit is contained in:
parent
1cb23c4a16
commit
ebbc961d7a
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ const CurveEditorPopover: React.VFC<ICurveEditorPopoverProps> = (props) => {
|
|||
cssCubicBezierArgsFromHandles(easing),
|
||||
)
|
||||
|
||||
const onInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
const onInputChange = (e?: React.ChangeEvent<HTMLInputElement>) => {
|
||||
if (e === undefined) return
|
||||
setTextInputMode(TextInputMode.user)
|
||||
setInputValue(e.target.value)
|
||||
|
||||
|
|
Loading…
Reference in a new issue