Skip to content

Commit

Permalink
fixed frame navigation (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhavoro authored Mar 24, 2020
1 parent 83dbe8f commit 8a28da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cvat/apps/engine/static/engine/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ class PlayerModel extends Listener {
if (absolute) {
this._frame.requested.clear();
}
this._frame.requested.add(requestedFrame);

if (!isLoadFrame) {
this._image = null;
this._continueAfterLoad = this.playing;
Expand All @@ -287,6 +285,8 @@ class PlayerModel extends Listener {
return false;
}

this._frame.requested.add(requestedFrame);

try {
const frame = await this._frameProvider.require(requestedFrame,
this._playing, this._step);
Expand Down

0 comments on commit 8a28da7

Please sign in to comment.