kopia lustrzana https://github.com/mifi/lossless-cut
don't propagate seg check click
rodzic
ca58a14397
commit
3a533f0b14
|
@ -93,7 +93,10 @@ const Segment = memo(({ seg, index, currentSegIndex, formatTimecode, getFrameCou
|
|||
|
||||
const CheckIcon = enabled ? FaRegCheckCircle : FaRegCircle;
|
||||
|
||||
const onToggleSegmentSelectedClick = useCallback(() => onToggleSegmentSelected(seg), [onToggleSegmentSelected, seg]);
|
||||
const onToggleSegmentSelectedClick = useCallback((e) => {
|
||||
e.stopPropagation();
|
||||
onToggleSegmentSelected(seg);
|
||||
}, [onToggleSegmentSelected, seg]);
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
|
|
Ładowanie…
Reference in New Issue