Skip to content

Commit

Permalink
Don't expand timeline by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bctcvai committed Dec 6, 2024
1 parent d1cb6fe commit 11399e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions ui/src/js/annotation/annotation-multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,11 +829,7 @@ export class AnnotationMulti extends TatorElement {

this._videoTimeline.init(0, this._timeStore.getLastGlobalFrame());
this._entityTimeline.init(0, this._timeStore.getLastGlobalFrame());
this._displayTimelineLabels = true;
this._entityTimeline.showFocus(
this._displayTimelineLabels,
this._videos[this._primaryVideoIndex].currentFrame()
);
this._displayTimelineLabels = false;

this._slider.setAttribute("min", 0);
this._slider.setAttribute("max", this._timeStore.getLastGlobalFrame());
Expand Down
6 changes: 1 addition & 5 deletions ui/src/js/annotation/annotation-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,11 +940,7 @@ export class AnnotationPlayer extends TatorElement {

this._videoTimeline.init(0, this._timeStore.getLastGlobalFrame());
this._entityTimeline.init(0, this._timeStore.getLastGlobalFrame());
this._displayTimelineLabels = true;
this._entityTimeline.showFocus(
this._displayTimelineLabels,
this._video.currentFrame()
);
this._displayTimelineLabels = false;

this._slider.setAttribute("min", 0);
this._slider.setAttribute("max", this._timeStore.getLastGlobalFrame());
Expand Down

0 comments on commit 11399e2

Please # to comment.