Skip to content

Commit

Permalink
Fixed duration of 'change:frame' event (#7817)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev authored Apr 30, 2024
1 parent a8aa49f commit 5f71ab7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Fixed

- Incorrect duration of `change:frame` event
(<https://github.com/cvat-ai/cvat/pull/7817>)
2 changes: 1 addition & 1 deletion cvat-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cvat-ui",
"version": "1.63.7",
"version": "1.63.8",
"description": "CVAT single-page application",
"main": "src/index.tsx",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions cvat-ui/src/reducers/annotation-reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ export default (state = defaultState, action: AnyAction): AnnotationState => {
player: {
...state.player,
ranges: ranges || state.player.ranges,
frame: {
...state.player.frame,
changeFrameEvent: null,
},
},
canvas: {
...state.canvas,
Expand Down

0 comments on commit 5f71ab7

Please sign in to comment.