This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix initial audio volume not corresponding to what's displayed (
#14057
)
master
ThibG
3 years ago
committed by
GitHub
parent
df30002df8
commit
755e8c76ab
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/javascript/mastodon/features/audio/index.js
+ 1
- 0
app/javascript/mastodon/features/audio/index.js
View File
@ -128,6 +128,7 @@ class Audio extends React.PureComponent {
this
.
wavesurfer
.
createPeakCache
(
)
;
this
.
wavesurfer
.
load
(
this
.
props
.
src
)
;
this
.
wavesurfer
.
toggleInteraction
(
)
;
this
.
wavesurfer
.
setVolume
(
this
.
state
.
volume
)
;
this
.
loaded
=
true
;
}
Write
Preview
Loading…
Cancel
Save