Use translate for static cursor panning

cache
Varun Patil 2022-10-10 16:29:32 -07:00
parent 092de18af2
commit 7030f789a3
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}