Skip to content

Commit

Permalink
fix(gui): allow max safe seed constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 8, 2023
1 parent d1768b1 commit 477d89b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const CONFIG_DEFAULTS: ConfigRanges<Required<Img2ImgParams & Txt2ImgParam
seed: {
default: -1,
min: -1,
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
max: (2 ** 32) - 1,
step: 1,
},
Expand Down

0 comments on commit 477d89b

Please sign in to comment.