Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonV committed Oct 5, 2024
1 parent 8d29bb1 commit 92041a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Midi/LpColorPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const LpColorPicker = ({ onColorSelect, defaultColor }: LpColorPickerProps) => {
},
}}
>
{selectedColor ? zeroPadHex(lpType === 'LPX' ? lpColors[selectedColor] : (lpsColors as any)[selectedColor]) : lpType === 'LPX' ? (lpColors as any)[defaultColor || '#FF0000'] : (lpsColors as any)[defaultColor || '#FF0000'] || ''}
{selectedColor ? zeroPadHex(lpType === 'LPX' ? lpColors[selectedColor] : (lpsColors as any)[selectedColor]) : lpType === 'LPX' ? (lpColors as any)[defaultColor || '#FF0000'] : (lpsColors as any)[defaultColor || '#FF0000'].toString(16).toUpperCase() || ''}
</Button>
<Popover
id={id}
Expand Down

0 comments on commit 92041a4

Please sign in to comment.