aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-07-25 15:54:01 +0200
committerlonkaars <loek@pipeframe.xyz>2021-07-25 15:54:01 +0200
commitb6d87316ff5e51727b2548305983cca027fed069 (patch)
tree786f928979ab22289faf6cd6f28eba9f933154d8 /styles
parent422e383eeff10074d56bdb52ecf2103be3719a57 (diff)
fix loop offset / ghost placement
Diffstat (limited to 'styles')
-rw-r--r--styles/keyframes.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/styles/keyframes.css b/styles/keyframes.css
index e971476..3541f3a 100644
--- a/styles/keyframes.css
+++ b/styles/keyframes.css
@@ -57,6 +57,7 @@
.keyframe.ghost .outline { opacity: .7; }
#ghost {
+ background-color: rgba(255, 128, 0, var(--debug-hitbox-opacity));
--negative-offset-weight: calc(1 - var(--offset-weight));
--offset-x: calc(0.5 * var(--zoom) * var(--negative-offset-weight) * 1px - 12px * var(--negative-offset-weight) + -16px * var(--offset-weight));
transform: translateX(var(--offset-x)) translateY(-16px);