mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
update danmuku maxWidth
This commit is contained in:
1 parent
a6188f0fe2
commit
9728032922
3 files changed
+3
-3
No files matched your search
@@ -403,7 +403,7 @@ class Danmuku {
|
||||
this.option.lockTime = clamp(this.option.lockTime, 0, 60);
|
||||
this.option.maxLength = clamp(this.option.maxLength, 0, 500);
|
||||
this.option.minWidth = clamp(this.option.minWidth, 0, 500);
|
||||
this.option.maxWidth = clamp(this.option.maxWidth, this.option.minWidth, Infinity);
|
||||
this.option.maxWidth = clamp(this.option.maxWidth, 0, Infinity);
|
||||
if (option.fontSize) {
|
||||
this.option.fontSize = this.getFontSize(this.option.fontSize);
|
||||
this.reset();
|
||||
|
||||
Reference in new issue
Block a user