fix: slider input
This commit is contained in:
parent
31ae3ef4f5
commit
d466152aaa
|
@ -25,7 +25,7 @@ export const useSliderInput = (
|
||||||
pct,
|
pct,
|
||||||
setPct: useCallback(
|
setPct: useCallback(
|
||||||
(val: number) => {
|
(val: number) => {
|
||||||
setType(InputType.AbsoluteValue);
|
setType(InputType.Percent);
|
||||||
setPct(val);
|
setPct(val);
|
||||||
setValue(convert(val) as string);
|
setValue(convert(val) as string);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue