fix: preset thumbnails no longer conflict with main preview animation

- Inject only @keyframes (not .animated class rule) per preset thumbnail
  so the main preview's .animated rule cannot override them
- Drive thumbnail animation entirely via inline style properties
- Remove isActive/currentName — presets should never appear selected

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 17:08:22 +01:00
parent eeef3283c8
commit f4ee557e26
3 changed files with 41 additions and 30 deletions

View File

@@ -98,7 +98,7 @@ export function AnimationEditor() {
</div>
{/* Row 4: Preset Library */}
<PresetLibrary currentName={config.name} onSelect={loadPreset} />
<PresetLibrary onSelect={loadPreset} />
</div>
);
}