mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 18:45:41 +01:00
Add attribution notice to the audio player component (#14280)
The code for rendering a frequency graph around a circle has been adopted (with modifications) from a CodePen by Alex Permyakov
This commit is contained in:
parent
3ef94c0044
commit
a78b87d800
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ const messages = defineMessages({
|
|||
download: { id: 'video.download', defaultMessage: 'Download file' },
|
||||
});
|
||||
|
||||
// Some parts of the canvas rendering code in this file have been adopted from
|
||||
// https://codepen.io/alexdevp/full/RNELPV by Alex Permyakov
|
||||
|
||||
const TICK_SIZE = 10;
|
||||
const PADDING = 180;
|
||||
|
||||
|
|
Loading…
Reference in a new issue