{t('Note: Cutting and including external tracks at the same time does not yet work. If you want to do both, it must be done as separate operations. See github issue #896.')}
)}
- } marginBottom="1em" onClick={showAddStreamSourceDialog}>
- {t('Include more tracks from other file')}
+
{nonCopiedExtraStreams.length > 0 && (
@@ -486,8 +487,8 @@ function StreamsSelector({
{externalFilesEntries.length > 0 && (
{t('When tracks have different lengths, do you want to make the output file as long as the longest or the shortest track?')}
-
)}
diff --git a/src/renderer/src/components/AutoExportToggler.tsx b/src/renderer/src/components/AutoExportToggler.tsx
index 5d9f5659..ee4d9879 100644
--- a/src/renderer/src/components/AutoExportToggler.tsx
+++ b/src/renderer/src/components/AutoExportToggler.tsx
@@ -1,16 +1,19 @@
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
-import { Button, ForkIcon, DisableIcon } from 'evergreen-ui';
+import { ForkIcon, DisableIcon } from 'evergreen-ui';
import useUserSettings from '../hooks/useUserSettings';
+import Button from './Button';
function AutoExportToggler() {
const { t } = useTranslation();
const { autoExportExtraStreams, setAutoExportExtraStreams } = useUserSettings();
+ const Icon = autoExportExtraStreams ? ForkIcon : DisableIcon;
+
return (
- setAutoExportExtraStreams(!autoExportExtraStreams)}>
- {autoExportExtraStreams ? t('Extract') : t('Discard')}
+ setAutoExportExtraStreams(!autoExportExtraStreams)}>
+ {autoExportExtraStreams ? t('Extract') : t('Discard')}
);
}
diff --git a/src/renderer/src/components/ValueTuner.tsx b/src/renderer/src/components/ValueTuner.tsx
index a291e39b..8b3a0b82 100644
--- a/src/renderer/src/components/ValueTuner.tsx
+++ b/src/renderer/src/components/ValueTuner.tsx
@@ -1,10 +1,10 @@
import { memo, useState, useCallback, ChangeEventHandler } from 'react';
-import { Button } from 'evergreen-ui';
import { useTranslation } from 'react-i18next';
import styles from './ValueTuner.module.css';
import Switch from './Switch';
+import Button from './Button';
function ValueTuner({ title, value, setValue, onFinished, resolution, decimals, min: minIn = 0, max: maxIn = 1, resetToDefault }: {
@@ -63,8 +63,8 @@ function ValueTuner({ title, value, setValue, onFinished, resolution, decimals,