scene configuration, neko opacity & scale

This commit is contained in:
2026-03-24 22:52:49 +08:00
parent 4093b0eb0c
commit 75ab799a7f
19 changed files with 427 additions and 34 deletions

View File

@@ -6,6 +6,8 @@
import type { DollColorSchemeDto } from "$lib/bindings";
export let dollColorScheme: DollColorSchemeDto;
export let spriteScale = 2;
export let spriteOpacity = 1;
let previewBase64: string | null = null;
let error: string | null = null;
@@ -80,7 +82,10 @@
});
</script>
<div class="scale-200 p-4">
<div
style="transform: scale({spriteScale}); padding: {spriteScale *
10}px; opacity: {spriteOpacity};"
>
<div class="size-8">
{#if error}
<div