fix pointerevents keyfram indicators

pull/276/head
Mikael Finstad 2020-02-24 17:07:47 +08:00
rodzic 56dcfc1cbf
commit ad5033e36c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1810,7 +1810,7 @@ const App = memo(() => {
))}
{mainVideoStream && shouldShowKeyframes && neighbouringFrames.filter(f => f.keyframe).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)' }} />
<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>
</div>