Sample Klein edits from source and bind Studio 2 extensions correctly
This commit is contained in:
@@ -3,6 +3,6 @@ export function applyUploadedStill(form, response, target) {
|
||||
if (!still?.id) throw new Error('The upload did not return a saved still. Please try again.')
|
||||
const next={...form,settings:{...form.settings}}
|
||||
if (target==='hero') next.identityStillId=still.id
|
||||
else {next.imageAId=still.id;next.startClipId='';if(next.mode==='extend')next.mode='video';next.settings.aspect='auto'}
|
||||
else {next.imageAId=still.id;if(next.mode!=='extend'){next.startClipId='';next.settings.aspect='auto'}}
|
||||
return next
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user