better save KF
This commit is contained in:
1 parent
76ff0ecb19
commit
1143c52c11
2 files changed
+11
-6
No files matched your search
@@ -276,11 +276,14 @@ class KeyframeView extends WindozDomContent {
|
||||
} else if(this.currentKeyframe.kfName != this.outputs.kfName.value){ //rename
|
||||
this.currentKeyframe.kfName = this.outputs.kfName.value
|
||||
result = await this.models.keyframes.rename(this.currentKeyframe)
|
||||
console.log(result)
|
||||
}
|
||||
|
||||
if(result.success){
|
||||
|
||||
await this.models.keyframes.save(this.currentKeyframe.kfId, this.kfArena.agents)
|
||||
this.outputs.btnSaveKF.disabled = true
|
||||
ui.growl.append('Keyframe saved!','success',3000)
|
||||
setTimeout(() => { this.outputs.btnSaveKF.disabled = false}, 3000)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user