fix(gui): set initial fill color
This commit is contained in:
parent
9d0a15900b
commit
ce11165d0f
|
@ -153,7 +153,7 @@ export function createStateSlices(base: ServerParams) {
|
||||||
const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({
|
const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({
|
||||||
inpaint: {
|
inpaint: {
|
||||||
...defaults,
|
...defaults,
|
||||||
fillColor: '',
|
fillColor: '#000000',
|
||||||
filter: 'none',
|
filter: 'none',
|
||||||
mask: null,
|
mask: null,
|
||||||
noise: 'histogram',
|
noise: 'histogram',
|
||||||
|
@ -172,7 +172,7 @@ export function createStateSlices(base: ServerParams) {
|
||||||
set({
|
set({
|
||||||
inpaint: {
|
inpaint: {
|
||||||
...defaults,
|
...defaults,
|
||||||
fillColor: '',
|
fillColor: '#000000',
|
||||||
filter: 'none',
|
filter: 'none',
|
||||||
mask: null,
|
mask: null,
|
||||||
noise: 'histogram',
|
noise: 'histogram',
|
||||||
|
|
Loading…
Reference in New Issue