mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
update docs
This commit is contained in:
1 parent
9b054d195a
commit
a6188f0fe2
49 files changed
+153
-146
No files matched your search
@@ -59,7 +59,7 @@ export default class Danmuku {
|
||||
lockTime: 5,
|
||||
maxLength: 100,
|
||||
minWidth: 200,
|
||||
maxWidth: 600,
|
||||
maxWidth: 400,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ export default 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, 0, Infinity);
|
||||
this.option.maxWidth = clamp(this.option.maxWidth, this.option.minWidth, Infinity);
|
||||
|
||||
if (option.fontSize) {
|
||||
this.option.fontSize = this.getFontSize(this.option.fontSize);
|
||||
|
||||
@@ -158,9 +158,16 @@
|
||||
justify-content: center;
|
||||
background-color: #000;
|
||||
|
||||
.art-danmuku-style .art-danmuku-style-panel {
|
||||
left: 0;
|
||||
.art-danmuku-emitter {
|
||||
max-width: 100% !important;
|
||||
|
||||
.art-danmuku-style {
|
||||
.art-danmuku-style-panel {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user