diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-25 15:09:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-25 15:09:19 +0200 |
commit | 2e99e3cab349db6102505736e3b4b94abe776b80 (patch) | |
tree | 5d287f295f9460ed998359ba5f906ef99ac4625c /app/javascript/mastodon/features/status/components/detailed_status.js | |
parent | e72bac7576263445630926dd9992004ece7b73c4 (diff) |
Fix more visual issues with the audio player (#11654)
* Fix more visual issues with the audio player - Add horizontal baseline in the middle of waveform - Fix audio player colors in light theme - Use audio element instead of web audio API - Do not render any bars until the file is loaded - Do not allow interactions with waveform until the file is loaded * Fix code style issue
Diffstat (limited to 'app/javascript/mastodon/features/status/components/detailed_status.js')
-rw-r--r-- | app/javascript/mastodon/features/status/components/detailed_status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/status/components/detailed_status.js b/app/javascript/mastodon/features/status/components/detailed_status.js index 980aa0655..e97f18f08 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.js +++ b/app/javascript/mastodon/features/status/components/detailed_status.js @@ -116,7 +116,7 @@ export default class DetailedStatus extends ImmutablePureComponent { src={attachment.get('url')} alt={attachment.get('description')} duration={attachment.getIn(['meta', 'original', 'duration'], 0)} - height={150} + height={110} preload /> ); |