]> cat aescling's git repositories - mastodon.git/commit
Fix more visual issues with the audio player (#11654)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 25 Aug 2019 13:09:19 +0000 (15:09 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Aug 2019 13:09:19 +0000 (15:09 +0200)
commit2e99e3cab349db6102505736e3b4b94abe776b80
tree5d287f295f9460ed998359ba5f906ef99ac4625c
parente72bac7576263445630926dd9992004ece7b73c4
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
app/javascript/mastodon/components/status.js
app/javascript/mastodon/features/audio/index.js
app/javascript/mastodon/features/status/components/detailed_status.js
app/javascript/styles/mastodon-light/diff.scss
app/javascript/styles/mastodon/components.scss