Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartel committed Feb 13, 2025
1 parent fb8a460 commit 128e3bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/libs/editor/src/components/VideoCanvas/VideoCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,10 @@ export const VideoCanvas = memo(
},
frameSteppedTime(time?: number): number {
if (isFF(FF_VIDEO_FRAME_SEEK_PRECISION)) {
return Math.round((time ?? this.currentTime) / BROWSER_TIME_PRECISION) * BROWSER_TIME_PRECISION + BROWSER_TIME_PRECISION;
return (
Math.round((time ?? this.currentTime) / BROWSER_TIME_PRECISION) * BROWSER_TIME_PRECISION +
BROWSER_TIME_PRECISION
);
}
return time ?? this.currentTime;
},
Expand Down

0 comments on commit 128e3bb

Please sign in to comment.