aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-21 22:13:24 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-21 22:13:24 +0200
commita6d27ae3209da846f9fb6aa7166979e05780b1bf (patch)
tree3ccc699ce1048c2570a127e0ed73ed3fbed9dbad /styles
parent03279d9b1c10dd0c9f194c16937eb082bd988940 (diff)
timeline cursor jump working now :tada:
Diffstat (limited to 'styles')
-rw-r--r--styles/editor.css20
1 files changed, 10 insertions, 10 deletions
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;
+}
+