This website works better with JavaScript.
Home
Explore
Help
Sign In
tesseract-design
/
tesseract
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Update seek time display
Whenever seeking stops, immediately update current time display.
pull/1/head
TheoryOfNekomata
1 year ago
parent
71df297b08
commit
68cfb8111a
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
packages/web-kitchensink-reactnext/src/categories/blob/react/hooks/interactive/media.ts
+ 1
- 0
packages/web-kitchensink-reactnext/src/categories/blob/react/hooks/interactive/media.ts
View File
@@ -77,6 +77,7 @@ export const useMediaControls = <T extends HTMLMediaElement>({
const { currentTarget: thisElement } = e;
setIsSeeking(false);
setCurrentTimeDisplay(thisElement.valueAsNumber);
doSetSeek(thisElement, mediaController);
}, [ref, doSetSeek]);
Write
Preview
Loading…
Cancel
Save