Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shenmin-Z committed Aug 27, 2022
1 parent 6c7addf commit 2892a3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
window.__SRT_VERSION__ = '1.4.11'
window.__SRT_VERSION__ = '1.4.12'
1 change: 1 addition & 0 deletions src/components/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ const ProgressBar: FC<ProgressBarProps> = ({ value }) => {
onClick={e => {
const progress = getProgressByMouse(e)
setNobPosition(progress)
previousProgress.current = progress
doVideo(video => {
video.currentTime = progress * video.duration
})
Expand Down

0 comments on commit 2892a3e

Please sign in to comment.