1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-23 10:52:34 +01:00

add toggle segments button

This commit is contained in:
Mikael Finstad 2024-11-02 02:03:52 +08:00
parent 20da7bbce9
commit f82a10656e
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -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 }}>