From a6d27ae3209da846f9fb6aa7166979e05780b1bf Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 21 May 2021 22:13:24 +0200 Subject: timeline cursor jump working now :tada: --- styles/editor.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'styles') diff --git a/styles/editor.css b/styles/editor.css index e23ff62..5325004 100644 --- a/styles/editor.css +++ b/styles/editor.css @@ -186,7 +186,6 @@ .appGrid .timeline .keyframes .frame .keyframeWrapper { line-height: 0; top: 44px; - z-index: 999; color: var(--gruble); width: 24px; height: 24px; @@ -218,7 +217,7 @@ width: 2px; overflow: visible; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); - z-index: 999999999; + z-index: 1; left: calc((var(--zoom) * (var(--frame) + 0.5)) * 1px - 1px) } @@ -229,15 +228,11 @@ opacity: .0; } -.timeline .scrubber .head { - fill: var(--blue); - z-index: 1; - cursor: grab; -} -.timeline .scrubber .head:active { - cursor: grabbing; -} +.timeline .scrubberJumpArea { cursor: grab; } +.timeline .scrubberJumpArea:active { cursor: grabbing; } + +.timeline .scrubber .head { fill: var(--blue); } .timeline .scrubber .needle { background-color: var(--blue); } .timeline .labels .label { @@ -245,3 +240,8 @@ color: var(--c700); } +.timeline .scrubberJumpArea { + height: 28px; + z-index: 9; +} + -- cgit v1.2.3