Skip to content

Commit

Permalink
lint(gui): set histogram noise to the default
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 15, 2023
1 parent 2a30a04 commit 0d919bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gui/src/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ export function createStateSlices(base: ConfigParams) {
const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({
inpaint: {
...defaults,
filter: '',
filter: 'none',
mask: null,
noise: '',
noise: 'histogram',
source: null,
},
setInpaint(params) {
Expand All @@ -143,10 +143,10 @@ export function createStateSlices(base: ConfigParams) {
set({
inpaint: {
...defaults,
filter: '',
filter: 'none',
mask: null,
noise: 'histogram',
source: null,
noise: '',
},
});
},
Expand Down

0 comments on commit 0d919bd

Please sign in to comment.