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
lolsob-rspec
Eugen Rochko 2020-07-10 12:25:44 +02:00 committed by GitHub
parent 66f9bd08da
commit 29916e7143
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ const messages = defineMessages({
download: { id: 'video.download', defaultMessage: 'Download file' }, 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 TICK_SIZE = 10;
const PADDING = 180; const PADDING = 180;