Skip to content

Commit

Permalink
#68 Add minimum and maximum speed to custom speed inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
vantezzen committed Jul 8, 2021
1 parent 444ddda commit bea36b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/shared/components/speedSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const SpeedSetting = ({ label, name, config } : SpeedSettingProps) => {
}
}}
step={0.1}
min={0.0625}
max={16}
/>
<button onClick={() => {
config.set(`${name}_is_custom` as IsCustomKeys, false);
Expand Down

0 comments on commit bea36b0

Please sign in to comment.