From d882d180a5fdcd3a94c16b866de4e395c9276b03 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Wed, 24 Jul 2019 11:07:10 -0400 Subject: [PATCH] Use separate play and stop icons for sound editor --- src/components/sound-editor/icon--play.svg | 20 +++++++++++++++++++ src/components/sound-editor/icon--stop.svg | 21 ++++++++++++++++++++ src/components/sound-editor/sound-editor.css | 1 - src/components/sound-editor/sound-editor.jsx | 4 ++-- 4 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 src/components/sound-editor/icon--play.svg create mode 100644 src/components/sound-editor/icon--stop.svg diff --git a/src/components/sound-editor/icon--play.svg b/src/components/sound-editor/icon--play.svg new file mode 100644 index 000000000..817a2cab9 --- /dev/null +++ b/src/components/sound-editor/icon--play.svg @@ -0,0 +1,20 @@ + + + + play + Created with Sketch. + + + + + + + + + + + + + + + diff --git a/src/components/sound-editor/icon--stop.svg b/src/components/sound-editor/icon--stop.svg new file mode 100644 index 000000000..c960e66c3 --- /dev/null +++ b/src/components/sound-editor/icon--stop.svg @@ -0,0 +1,21 @@ + + + + stop-playback + Created with Sketch. + + + + + + + + + + + + + + + + diff --git a/src/components/sound-editor/sound-editor.css b/src/components/sound-editor/sound-editor.css index 03cccb22e..f46bcac21 100644 --- a/src/components/sound-editor/sound-editor.css +++ b/src/components/sound-editor/sound-editor.css @@ -108,7 +108,6 @@ $border-radius: 0.25rem; flex-grow: 1; max-width: 100%; max-height: 100%; - filter: grayscale(1) brightness(10); /*min-width: 1.5rem;*/ } diff --git a/src/components/sound-editor/sound-editor.jsx b/src/components/sound-editor/sound-editor.jsx index 761856548..b0e97a174 100644 --- a/src/components/sound-editor/sound-editor.jsx +++ b/src/components/sound-editor/sound-editor.jsx @@ -13,8 +13,8 @@ import IconButton from '../icon-button/icon-button.jsx'; import styles from './sound-editor.css'; -import playIcon from '../record-modal/icon--play.svg'; -import stopIcon from '../record-modal/icon--stop-playback.svg'; +import playIcon from './icon--play.svg'; +import stopIcon from './icon--stop.svg'; import redoIcon from './icon--redo.svg'; import undoIcon from './icon--undo.svg'; import fasterIcon from './icon--faster.svg';