Make trim => save

This commit is contained in:
Paul Kaplan committed 2017-07-10 08:55:55 -04:00
1 parent cd75a9881a
commit afab86f2fb
2 files changed
+1 -23

No files matched your search

@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="10px" height="13px" viewBox="0 0 10 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
<title>sissors</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Desktop---1280x720" transform="translate(-789.000000, -451.000000)" fill="#FFFFFF">
<g id="Step-4---Playing-Trim" transform="translate(0.000000, 42.000000)">
<g id="Trim" transform="translate(776.000000, 400.000000)">
<g id="sissors" transform="translate(13.000000, 9.000000)">
<path d="M5.87428571,10.1015152 C5.43735792,10.1015152 5.08184524,10.4634917 5.08184524,10.9083636 C5.08184524,11.3532356 5.43735792,11.7152121 5.87428571,11.7152121 C6.31121351,11.7152121 6.66672619,11.3532356 6.66672619,10.9083636 C6.66672619,10.4634917 6.31121351,10.1015152 5.87428571,10.1015152 M5.87428571,12.8167273 C4.8407619,12.8167273 4,11.9606788 4,10.9083636 C4,9.85604848 4.8407619,9 5.87428571,9 C6.90780952,9 7.74857143,9.85604848 7.74857143,10.9083636 C7.74857143,11.9606788 6.90780952,12.8167273 5.87428571,12.8167273" id="Fill-1"></path>
<path d="M1.87428571,10.1015152 C1.43735792,10.1015152 1.08184524,10.4634917 1.08184524,10.9083636 C1.08184524,11.3532356 1.43735792,11.7152121 1.87428571,11.7152121 C2.31121351,11.7152121 2.66672619,11.3532356 2.66672619,10.9083636 C2.66672619,10.4634917 2.31121351,10.1015152 1.87428571,10.1015152 M1.87428571,12.8167273 C0.840761905,12.8167273 0,11.9606788 0,10.9083636 C0,9.85604848 0.840761905,9 1.87428571,9 C2.90780952,9 3.74857143,9.85604848 3.74857143,10.9083636 C3.74857143,11.9606788 2.90780952,12.8167273 1.87428571,12.8167273" id="Fill-1-Copy"></path>
<path d="M3.90708571,8.45230545 C3.6328,8.45230545 3.41184762,8.22733576 3.41184762,7.94806303 C3.41184762,7.67266909 3.6328,7.44769939 3.90708571,7.44769939 C4.1775619,7.44769939 4.39851429,7.67266909 4.39851429,7.94806303 C4.39851429,8.22733576 4.1775619,8.45230545 3.90708571,8.45230545 L3.90708571,8.45230545 Z M3.86518095,4.82176 L3.86137143,4.82951758 L2.27660952,0.609396364 C2.21184762,0.430972121 2.0175619,0.34176 1.84613333,0.411578182 L1.1375619,0.683093333 C0.577561905,0.904184242 0.291847619,1.54418424 0.508990476,2.11824485 L2.77946667,8.17691152 C2.95089524,8.64236606 3.40041905,8.91776 3.86137143,8.89060848 C4.32232381,8.91776 4.7680381,8.64236606 4.94327619,8.17691152 L5.03089524,7.94030545 L3.86518095,4.82176 Z" id="Fill-7"></path>
<path d="M5.56408691,6.39575195 L4.39875358,3.2772065 L5.44232381,0.609396364 C5.50708571,0.430972121 5.70137143,0.34176 5.8728,0.411578182 L6.58175238,0.683093333 C7.14518095,0.904184242 7.42708571,1.54418424 7.20994286,2.11824485 L5.56408691,6.39575195 Z" id="Fill-10"></path>
</g>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

@@ -9,7 +9,6 @@ import styles from './record-modal.css';
import backIcon from './icon--back.svg';
import stopIcon from './icon--stop-playback.svg';
import playIcon from './icon--play.svg';
import trimIcon from './icon--trim.svg';
const PlaybackStep = props => (
<Box>
@@ -63,7 +62,7 @@ const PlaybackStep = props => (
disabled={props.encoding}
onClick={props.onSubmit}
>
<img src={trimIcon} /> {props.encoding ? 'Loading...' : 'Trim'}
{props.encoding ? 'Loading...' : 'Save'}
</button>
</Box>
</Box>