fix: #1237 can not delete cloned mask

This commit is contained in:
Yidadaa 2023-05-04 22:31:10 +08:00
parent eec1dd6448
commit 40223e6b3f
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ export const useMaskStore = create<MaskStore>()(
...createEmptyMask(),
...mask,
id,
builtin: false,
};
set(() => ({ masks }));