lint(gui): set histogram noise to the default
This commit is contained in:
parent
2a30a04e46
commit
0d919bdb11
|
@ -126,9 +126,9 @@ export function createStateSlices(base: ConfigParams) {
|
||||||
const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({
|
const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({
|
||||||
inpaint: {
|
inpaint: {
|
||||||
...defaults,
|
...defaults,
|
||||||
filter: '',
|
filter: 'none',
|
||||||
mask: null,
|
mask: null,
|
||||||
noise: '',
|
noise: 'histogram',
|
||||||
source: null,
|
source: null,
|
||||||
},
|
},
|
||||||
setInpaint(params) {
|
setInpaint(params) {
|
||||||
|
@ -143,10 +143,10 @@ export function createStateSlices(base: ConfigParams) {
|
||||||
set({
|
set({
|
||||||
inpaint: {
|
inpaint: {
|
||||||
...defaults,
|
...defaults,
|
||||||
filter: '',
|
filter: 'none',
|
||||||
mask: null,
|
mask: null,
|
||||||
|
noise: 'histogram',
|
||||||
source: null,
|
source: null,
|
||||||
noise: '',
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue