Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit 3578039

Browse files
committed
fix missing isLive arg in onUpdate call
1 parent 0ef80f3 commit 3578039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DatNumber.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class Slider extends React.Component {
196196
const rect = ReactDOM.findDOMNode(this).getBoundingClientRect();
197197
const x = pageX - rect.left;
198198
const w = rect.right - rect.left;
199-
onUpdate(min + clamp(x / w, 0, 1) * (max - min));
199+
onUpdate(min + clamp(x / w, 0, 1) * (max - min), isLive);
200200
}
201201

202202
render() {

0 commit comments

Comments
 (0)