about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/javascript/mastodon/features/audio/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/audio/index.js b/app/javascript/mastodon/features/audio/index.js
index f0cd79873..6ab835bd6 100644
--- a/app/javascript/mastodon/features/audio/index.js
+++ b/app/javascript/mastodon/features/audio/index.js
@@ -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;