fixed move selected + multi tween bugs

This commit is contained in:
STEINNI
2025-11-24 19:23:54 +00:00
parent 3b67e25986
commit 9a7626f102
4 changed files with 50 additions and 20 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class KeyframeView extends WindozDomContent {
this.outputs.agentsSelector.value = type
await this.onChangeAgent()
const defaultValues = this.getFieldsValues('div[data-output="agentProperties"]')
return(this.newAgent(type, { ...defaultValues, ...properties })) //TODO: deepMerge
return(await this.newAgent(type, { ...defaultValues, ...properties })) //TODO: deepMerge
} else {
throw(`Invalid agent type: ${type}`)
}