This commit is contained in:
kwaroran
2024-09-09 03:17:06 +09:00
parent e31e49b002
commit 91588d20f1

View File

@@ -1051,7 +1051,7 @@
<th class="font-medium cursor-pointer w-10">
<button class="hover:text-green-500" on:click={async () => {
if(currentChar.type === 'character'){
const da = await selectMultipleFile(['png', 'webp', 'mp4', 'mp3', 'gif', 'jpeg', 'jpg', 'ttf', 'otf', 'css', 'webm', 'woff', 'woff2', 'svg'])
const da = await selectMultipleFile(['png', 'webp', 'mp4', 'mp3', 'gif', 'jpeg', 'jpg', 'ttf', 'otf', 'css', 'webm', 'woff', 'woff2', 'svg', 'avif'])
currentChar.data.additionalAssets = currentChar.data.additionalAssets ?? []
if(!da){
return