Add clip player logic

This commit is contained in:
2022-04-30 22:20:18 +08:00
parent 6c6ea52eff
commit a0a1b52b3f
5 changed files with 51 additions and 4 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ class Model extends Emitter<ModelEvent> {
}
if (deletedClip) {
this.behaviorPool.splice(index, 1);
this.clipPool.splice(index, 1);
console.log(`Model: Delete clip ${deletedClip.name ?? deletedClip.id}`);
this.emit("clipChange", this.clipPool);
}