From cefc6e6ccc1ad48f0d477eddf2f990de2899eef0 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Thu, 29 Sep 2022 13:20:24 +0200 Subject: [PATCH] make it more clear when export confirm is disabled many users get confused --- README.md | 2 +- src/BottomBar.jsx | 4 ++-- src/components/ToggleExportConfirm.jsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 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.jsx index 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 && } + {(!simpleMode || !exportConfirmEnabled) && } diff --git a/src/components/ToggleExportConfirm.jsx b/src/components/ToggleExportConfirm.jsx index 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 ( - + ); });