Skip to content
Snippets Groups Projects
Commit 11d8c610 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Use re-record icon

parent 5ce93bc3
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ const Box = require('../box/box.jsx');
const Waveform = require('./waveform.jsx');
const Meter = require('./meter.jsx');
const styles = require('./record-modal.css');
const reRecordIcon = require('./re-record-icon.svg');
const PlaybackStep = props => (
<Box>
......@@ -45,6 +46,7 @@ const PlaybackStep = props => (
height={30}
rx={3}
ry={3}
stroke="#4280D7"
width={30}
x={10}
y={10}
......@@ -55,19 +57,31 @@ const PlaybackStep = props => (
height={30}
rx={3}
ry={3}
stroke="#4280D7"
width={30}
x={10}
y={10}
/>
</g>
) : (
<polygon
fill="#4C97FF"
points="15 15 35 25 15 35"
stroke="#4C97FF"
strokeLinejoin="round"
strokeWidth="5"
/>
<g>
<polygon
fill="#4280D7"
points="15 15 35 25 15 35"
stroke="#4280D7"
strokeLineCap="round"
strokeLinejoin="round"
strokeWidth="7"
/>
<polygon
fill="#4C97FF"
points="15 15 35 25 15 35"
stroke="#4C97FF"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="5"
/>
</g>
)}
</g>
</svg>
......@@ -83,7 +97,7 @@ const PlaybackStep = props => (
className={styles.cancelButton}
onClick={props.onBack}
>
Re-record
<img src={reRecordIcon} /> Re-record
</button>
<button
className={styles.okButton}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -46,20 +46,22 @@ const RecordingStep = props => (
{props.recording ? (
<g>
<rect
fill="rgb(237, 111, 54)"
fill="#FF661A"
height={30}
rx={3}
ry={3}
stroke="#E64D00"
width={30}
x={10}
y={10}
/>
<rect
className={styles.pulser}
fill="rgb(237, 111, 54)"
fill="#FF661A"
height={30}
rx={3}
ry={3}
stroke="#E64D00"
width={30}
x={10}
y={10}
......@@ -70,13 +72,14 @@ const RecordingStep = props => (
<circle
cx={25}
cy={25}
fill="rgb(237, 111, 54)"
fill="#FF661A"
r={15}
stroke="#E64D00"
/>
<circle
cx={25}
cy={25}
fill="rgb(237, 111, 54)"
fill="#FF661A"
r={18 + props.level * 10}
style={{opacity: 0.15, transition: '0.1s'}}
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment