mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-25 19:52:44 +01:00
improve merge button
This commit is contained in:
parent
f35e9d270c
commit
5e1700ef04
@ -52,11 +52,12 @@ const MergeExportButton = memo(({ autoMerge, enabledOutSegments, setAutoMerge, a
|
||||
return (
|
||||
<Button
|
||||
height={20}
|
||||
style={{ opacity: enabledOutSegments && enabledOutSegments.length < 2 ? 0.4 : undefined }}
|
||||
style={{ minWidth: 120, textAlign: 'center', opacity: enabledOutSegments && enabledOutSegments.length < 2 ? 0.4 : undefined }}
|
||||
title={description}
|
||||
onClick={withBlur(onClick)}
|
||||
iconBefore={AutoMergeIcon && (() => <AutoMergeIcon />)}
|
||||
>
|
||||
{AutoMergeIcon && <AutoMergeIcon />} {title}
|
||||
{title}
|
||||
</Button>
|
||||
);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user