move keep audio button

pull/276/head
Mikael Finstad 2020-02-21 17:40:29 +08:00
rodzic b22654a853
commit 9e73ec0e3c
1 zmienionych plików z 9 dodań i 8 usunięć

Wyświetl plik

@ -1531,6 +1531,15 @@ const App = memo(() => {
<Button height={20} iconBefore="list" onClick={withBlur(() => setStreamsSelectorShown(true))}>
Tracks ({numStreamsToCopy}/{numStreamsTotal})
</Button>
<Button
iconBefore={copyAnyAudioTrack ? 'volume-up' : 'volume-off'}
height={20}
title={`Discard audio? Current: ${copyAnyAudioTrack ? 'keep audio tracks' : 'Discard audio tracks'}`}
onClick={withBlur(toggleStripAudio)}
>
{copyAnyAudioTrack ? 'Keep audio' : 'Discard audio'}
</Button>
</Fragment>
)}
@ -1565,14 +1574,6 @@ const App = memo(() => {
>
{keyframeCut ? 'Keyframe cut' : 'Normal cut'}
</button>
<button
type="button"
title={`Discard audio? Current: ${copyAnyAudioTrack ? 'keep audio tracks' : 'Discard audio tracks'}`}
onClick={withBlur(toggleStripAudio)}
>
{copyAnyAudioTrack ? 'Keep audio' : 'Discard audio'}
</button>
</Fragment>
)}