|
|
|
@ -52,11 +52,12 @@ const MergeExportButton = memo(({ autoMerge, enabledOutSegments, setAutoMerge, a
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
height={20}
|
|
|
|
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}
|
|
|
|
title={description}
|
|
|
|
onClick={withBlur(onClick)}
|
|
|
|
onClick={withBlur(onClick)}
|
|
|
|
|
|
|
|
iconBefore={AutoMergeIcon && (() => <AutoMergeIcon />)}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{AutoMergeIcon && <AutoMergeIcon />} {title}
|
|
|
|
{title}
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|