1
0
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:
Mikael Finstad 2021-03-29 22:21:21 +07:00
parent f35e9d270c
commit 5e1700ef04
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

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