From 9a0cb1148039c30b7a001bfca548e4223137ecbb Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 23 May 2021 12:32:44 +0200 Subject: keyframes draggable :tada:g --- styles/editor.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'styles') diff --git a/styles/editor.css b/styles/editor.css index 5325004..3c30d68 100644 --- a/styles/editor.css +++ b/styles/editor.css @@ -218,7 +218,8 @@ overflow: visible; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); z-index: 1; - left: calc((var(--zoom) * (var(--frame) + 0.5)) * 1px - 1px) + left: calc((var(--zoom) * (var(--frame) + 0.5)) * 1px - 1px); + pointer-events: none; } .timeline .frameOverlay { @@ -228,9 +229,10 @@ opacity: .0; } - -.timeline .scrubberJumpArea { cursor: grab; } -.timeline .scrubberJumpArea:active { cursor: grabbing; } +.timeline .scrubberJumpArea, +.timeline .keyframes .frame .keyframeWrapper { cursor: grab; } +.timeline .scrubberJumpArea:active, +.timeline .keyframes .frame .keyframeWrapper:active { cursor: grabbing; } .timeline .scrubber .head { fill: var(--blue); } .timeline .scrubber .needle { background-color: var(--blue); } -- cgit v1.2.3