feat: add delay tab
This commit is contained in:
@@ -91,7 +91,11 @@ export default function VerticalSlider({
|
||||
}
|
||||
|
||||
const decimals = useMemo(
|
||||
() => Math.max(getDecimals(step), switchStep !== undefined ? getDecimals(switchStep) : 0),
|
||||
() =>
|
||||
Math.min(
|
||||
3,
|
||||
Math.max(getDecimals(step), switchStep !== undefined ? getDecimals(switchStep) : 0)
|
||||
),
|
||||
[step, switchStep]
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user