pull/2575/head
Mikael Finstad 8 months ago
parent 251106d112
commit 25110672b8
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -42,8 +42,11 @@ const InvertCutModeButton = memo(({ invertCutSegments, setInvertCutSegments }: {
const onYinYangClick = useCallback(() => {
setInvertCutSegments((v) => {
const newVal = !v;
if (newVal) getSwal().toast.fire({ title: t('When you export, selected segments on the timeline will be REMOVED - the surrounding areas will be KEPT') });
else getSwal().toast.fire({ title: t('When you export, selected segments on the timeline will be KEPT - the surrounding areas will be REMOVED.') });
getSwal().toast.fire({
title: newVal
? t('When you export, selected segments on the timeline will be REMOVED - the surrounding areas will be KEPT')
: t('When you export, selected segments on the timeline will be KEPT - the surrounding areas will be REMOVED.'),
});
return newVal;
});
}, [setInvertCutSegments, t]);

Loading…
Cancel
Save