make keyframes transparent

pull/333/head
Mikael Finstad 6 years ago
parent b1bd2731b4
commit 46a58c99bd

@ -245,7 +245,7 @@ const Timeline = memo(({
))} ))}
{shouldShowKeyframes && !areKeyframesTooClose && keyframes.map((f) => ( {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>
</div> </div>

Loading…
Cancel
Save