mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Fix #1974: Change default input to deferred
The value does not change automatically now, there's a "Set" button in the popup to trigger the onColorChange event.
This commit is contained in:
parent
6c5842d2e7
commit
da0cc6d8f1
@ -40,6 +40,7 @@ function ColorEditor({ name, onColorChange, color, defaultColor }: IColorEditorP
|
||||
<>
|
||||
<ColorPicker
|
||||
hideTextfield
|
||||
deferred
|
||||
value={color}
|
||||
onChange={(newColor: Color) => onColorChange(name, "#" + newColor.hex)}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user