This commit is contained in:
zhw2590582 committed 2019-05-03 14:23:53 +08:00
1 parent 58b68a2c12
commit df3f633e78
3 files changed
+3 -1

No files matched your search

@@ -81,6 +81,7 @@ export default class Danmuku {
continue() {
filter(this.queue, 'stop', danmu => {
danmu.$state = 'emit';
danmu.$lastStartTime = Date.now();
switch (danmu.mode) {
case 'scroll':
danmu.$ref.style.transform = `translateX(${-danmu.$restWidth}px) translateY(0px) translateZ(0px)`;