Stop Use as input from trapping you on the Image tab.
Loading a library still as input now only fills the start-still slot and stays on Video. Video/Image cards switch mode directly instead of relying on fragile query links. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+5
-1
@@ -7,7 +7,7 @@
|
||||
/>
|
||||
|
||||
<main class="mx-auto min-w-0 max-w-7xl space-y-6 px-4 py-6 sm:px-6">
|
||||
<StudioKindCards current="music" />
|
||||
<StudioKindCards current="music" @select="goStudio" />
|
||||
<div class="grid min-w-0 gap-6 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] lg:items-stretch">
|
||||
<section class="glass min-w-0 max-w-full space-y-5 rounded-3xl p-5 sm:p-6">
|
||||
<div>
|
||||
@@ -327,6 +327,10 @@ function selectEngineFamily(family: 'ace' | 'yue') {
|
||||
}
|
||||
}
|
||||
|
||||
function goStudio(kind: 'video' | 'image') {
|
||||
void navigateTo({ path: '/', query: { studio: kind } })
|
||||
}
|
||||
|
||||
function applyEngine(engine: MusicEngine) {
|
||||
if (engine === 'yue') {
|
||||
engineFamily.value = 'yue'
|
||||
|
||||
Reference in New Issue
Block a user