Use translate for static cursor panning
parent
42e56144b5
commit
c2c653852c
|
@ -79,7 +79,7 @@
|
|||
@mouseleave="timelineLeave"
|
||||
@mousedown="timelineClick">
|
||||
<span class="cursor st" ref="cursorSt"
|
||||
:style="{ top: timelineCursorY + 'px' }"></span>
|
||||
:style="{ transform: `translateY(${timelineCursorY}px)` }"></span>
|
||||
<span class="cursor hv"
|
||||
:style="{ transform: `translateY(${timelineHoverCursorY}px)` }">
|
||||
{{ timelineHoverCursorText }}
|
||||
|
|
Loading…
Reference in New Issue