Skip to content

The swiss army knife of lossless video/audio editing

add toggle segments button

Mikael Finstadf82a10656e30
diff --git a/src/renderer/src/SegmentList.tsx b/src/renderer/src/SegmentList.tsx
index b9907e33..c6ae23e1 100644
--- a/src/renderer/src/SegmentList.tsx
+++ b/src/renderer/src/SegmentList.tsx
@@ -390,6 +390,14 @@ function SegmentList({
style={{ ...buttonBaseStyle, padding: 1, background: segmentAtCursor ? segAtCursorColor : neutralButtonColor }}
onClick={splitCurrentSegment}
/>
+
+ <FaRegCheckCircle
+ size={22}
+ title={t('Split segment at cursor')}
+ role="button"
+ style={{ ...buttonBaseStyle, padding: 1, background: segmentAtCursor ? segAtCursorColor : neutralButtonColor }}
+ onClick={onInvertSelectedSegments}
+ />
</div>
<div style={{ padding: '5px 10px', boxSizing: 'border-box', borderBottom: '1px solid var(gray6)', borderTop: '1px solid var(gray6)', display: 'flex', justifyContent: 'space-between', fontSize: 13 }}>