The swiss army knife of lossless video/audio editing
make it more clear when export confirm is disabled
Mikael Finstadcefc6e6ccc1a
diff --git a/README.md b/README.mdindex 925c794d..d4270935 100644--- a/README.md+++ b/README.md@@ -69,7 +69,7 @@ The main feature is lossless trimming and cutting of video and audio files, whic- Quickly cut a file by its MP4/MKV chapters- Quickly cut a [YouTube video](https://youtube-dl.org/) by its chapters (or music times from a comment)- Change the language of a file's audio/subtitle tracks-- Attach cover art to videos+- Attach cover art / thumbnail to videos / audio from an external JPEG file or from a frame on the timeline- Change author, title, GPS position, recording time of a video- Fix rotation of a video that has the wrong orientation flag set- Great for rotating phone videos that come out the wrong way without actually re-encoding the video.diff --git a/src/BottomBar.jsx b/src/BottomBar.jsxindex 667ed56f..72f0e627 100644--- a/src/BottomBar.jsx+++ b/src/BottomBar.jsx@@ -40,7 +40,7 @@ const BottomBar = memo(({}) => {const { t } = useTranslation();- const { invertCutSegments, setInvertCutSegments, simpleMode, toggleSimpleMode } = useUserSettings();+ const { invertCutSegments, setInvertCutSegments, simpleMode, toggleSimpleMode, exportConfirmEnabled } = useUserSettings();const onYinYangClick = useCallback(() => {setInvertCutSegments(v => {@@ -358,7 +358,7 @@ const BottomBar = memo(({</>)}- {!simpleMode && <ToggleExportConfirm style={{ marginRight: 5 }} />}+ {(!simpleMode || !exportConfirmEnabled) && <ToggleExportConfirm style={{ marginRight: 5 }} />}<ExportButton size={1.3} segmentsToExport={segmentsToExport} areWeCutting={areWeCutting} onClick={onExportPress} /></div>diff --git a/src/components/ToggleExportConfirm.jsx b/src/components/ToggleExportConfirm.jsxindex f10b6a81..c3e9be8e 100644--- a/src/components/ToggleExportConfirm.jsx+++ b/src/components/ToggleExportConfirm.jsx@@ -12,7 +12,7 @@ const ToggleExportConfirm = memo(({ size = 23, style }) => {const { exportConfirmEnabled, toggleExportConfirmEnabled } = useUserSettings();return (- <MdEventNote style={{ color: exportConfirmEnabled ? primaryTextColor : 'rgba(255,255,255,0.3)', ...style }} size={size} title={t('Show export options screen before exporting?')} role="button" onClick={toggleExportConfirmEnabled} />+ <MdEventNote style={{ color: exportConfirmEnabled ? primaryTextColor : 'rgba(255,255,255,0.7)', ...style }} size={size} title={t('Show export options screen before exporting?')} role="button" onClick={toggleExportConfirmEnabled} />);});