diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-23 12:32:44 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-23 12:32:44 +0200 |
commit | 9a0cb1148039c30b7a001bfca548e4223137ecbb (patch) | |
tree | 5423f94be9b3609329a0782acfaf2e76196ebbb7 /styles | |
parent | b5f6d0eb73d84e65067e1c2b79ade78511916a6e (diff) |
keyframes draggable :tada:g
Diffstat (limited to 'styles')
-rw-r--r-- | styles/editor.css | 10 |
1 files changed, 6 insertions, 4 deletions
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); } |