mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Remove alpha from color picker
rgba is not currently supported in the themes, so might as well remove the option from the picker.
This commit is contained in:
parent
b578e09986
commit
59d8e1f979
@ -46,6 +46,7 @@ function ColorEditor({ name, onColorChange, color, defaultColor }: IColorEditorP
|
|||||||
deferred
|
deferred
|
||||||
value={color}
|
value={color}
|
||||||
onChange={(newColor: Color) => onColorChange(name, "#" + newColor.hex)}
|
onChange={(newColor: Color) => onColorChange(name, "#" + newColor.hex)}
|
||||||
|
disableAlpha
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user