1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-23 02:42:37 +01:00

make keyframes transparent

This commit is contained in:
Mikael Finstad 2020-04-26 23:23:00 +08:00
parent b1bd2731b4
commit 46a58c99bd

View File

@ -245,7 +245,7 @@ const Timeline = memo(({
))}
{shouldShowKeyframes && !areKeyframesTooClose && keyframes.map((f) => (
<div key={f.time} style={{ position: 'absolute', top: 0, bottom: 0, left: `${(f.time / duration) * 100}%`, marginLeft: -1, width: 1, background: 'rgba(0,0,0,1)', pointerEvents: 'none' }} />
<div key={f.time} style={{ position: 'absolute', top: 0, bottom: 0, left: `${(f.time / duration) * 100}%`, marginLeft: -1, width: 1, background: 'rgba(0,0,0,0.4)', pointerEvents: 'none' }} />
))}
</div>
</div>