This commit is contained in:
2025-12-08 16:22:29 +08:00
parent fc2d5fb951
commit a5b516d42b

View File

@@ -281,7 +281,7 @@ onUnmounted(() => {
<style scoped> <style scoped>
.danmaku-item { .danmaku-item {
position: absolute; position: absolute;
left: 0; right: 0;
white-space: nowrap; white-space: nowrap;
animation: danmaku-scroll linear forwards; animation: danmaku-scroll linear forwards;
pointer-events: none; pointer-events: none;
@@ -291,11 +291,11 @@ onUnmounted(() => {
@keyframes danmaku-scroll { @keyframes danmaku-scroll {
from { from {
transform: translateX(100%); transform: translateX(0);
opacity: 1; opacity: 1;
} }
to { to {
transform: translateX(-100%); transform: translateX(-200%);
opacity: 1; opacity: 1;
} }
} }