Skip to content

Commit

Permalink
处理溢出弹幕自定义样式失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
panpeng committed Mar 25, 2021
1 parent 6bffc29 commit f2b0c45
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 129 deletions.
4 changes: 2 additions & 2 deletions demo/easy-Danmaku.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* eazyDanmuku v1.0.4
* eazyDanmuku v1.0.7
* (c) 2020 Peng Pan
* @license MIT
*/
Expand Down Expand Up @@ -329,7 +329,7 @@ class EasyDanmaku {
this.clearIng = false;
}
}else{
this.send(this.overflowArr[0].content,this.normalClass||this.wrapperStyle);
this.send(this.overflowArr[0].content, this.overflowArr[0].normalClass || this.wrapperStyle);
this.overflowArr.shift();
}
},500)
Expand Down
4 changes: 2 additions & 2 deletions demo/easy-Danmaku.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions demo/easyDanmaku.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* eazyDanmuku v1.0.4
* eazyDanmuku v1.0.7
* (c) 2020 Peng Pan
* @license MIT
*/
Expand Down Expand Up @@ -329,7 +329,7 @@ class EasyDanmaku {
this.clearIng = false;
}
}else{
this.send(this.overflowArr[0].content,this.normalClass||this.wrapperStyle);
this.send(this.overflowArr[0].content, this.overflowArr[0].normalClass || this.wrapperStyle);
this.overflowArr.shift();
}
},500)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easy-danmaku-js",
"version": "1.0.6",
"version": "1.0.7",
"description": "A Danmaku plugin for the web",
"main": "/src/index.js",
"repository": {
Expand Down
Loading

0 comments on commit f2b0c45

Please sign in to comment.