We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0965d7a commit afcb022Copy full SHA for afcb022
src/Plot/CompareRegisterHandle.tsx
@@ -56,7 +56,7 @@ const CompareRegisterHandle = forwardRef<CompareRegisterHandleRef, Props>(
56
}, [setDraggingTV])
57
58
const onChangedInput = (val: string) => {
59
- setCompareRegisterValue(constrain(parseFloat(val), ...yExtent))
+ setCompareRegisterValue(constrain(parseFloat(val) || 0, ...yExtent))
60
}
61
return (
62
<>
0 commit comments