Skip to content

Commit

Permalink
fix: use 359 as max value for the hue slider
Browse files Browse the repository at this point in the history
  • Loading branch information
tigranpetrossian committed Aug 4, 2024
1 parent 7f6bfa2 commit b2fa3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figma-kit/src/components/color-picker/hue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Hue = (props: HueProps) => {
<Slider
range={false}
min={0}
max={360}
max={359}
value={[hue]}
onValueChange={handleValueChange}
className={`fp-ColorPickerHueSlider fp-color-model-${colorModel} fp-color-space-${colorSpace} ${className}`}
Expand Down

0 comments on commit b2fa3ad

Please sign in to comment.