add mask rerun button

This commit is contained in:
Qing
2022-11-15 21:53:16 +08:00
parent d7c3149f67
commit c54950c05c
6 changed files with 70 additions and 30 deletions

View File

@@ -18,6 +18,11 @@ export const fileState = atom<File | undefined>({
default: undefined,
})
export const maskState = atom<File | undefined>({
key: 'maskState',
default: undefined,
})
export interface Rect {
x: number
y: number