fix: keyboard i/o now modify selected annotation
This commit is contained in:
parent
5a3c2a5368
commit
38b8814d60
1 changed files with 7 additions and 0 deletions
|
@ -380,6 +380,13 @@ class Annotator extends EventTarget {
|
|||
this.drawStrokePosition(this.inPointPosition, this.outPointPosition);
|
||||
console.log([`${this.inPointTimeMs}`, `${this.outPointTimeMs}`])
|
||||
this.slider.set([this.inPointTimeMs, this.outPointTimeMs]);
|
||||
|
||||
// console.log(this.selectedAnnotation);
|
||||
if (this.selectedAnnotation) {
|
||||
this.selectedAnnotation.t_in = in_ms;
|
||||
this.selectedAnnotation.t_out = out_ms;
|
||||
this.updateAnnotations(false);
|
||||
}
|
||||
}
|
||||
|
||||
resetInOutPoint() {
|
||||
|
|
Loading…
Reference in a new issue