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