mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 02:21:20 -08:00
add danmuku maxWidth
This commit is contained in:
1 parent
93a517eaf8
commit
2cb73141fb
54 files changed
+211
-169
No files matched your search
@@ -30,6 +30,9 @@
|
||||
}
|
||||
|
||||
.danmuku-input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 5px;
|
||||
background-color: #000;
|
||||
}
|
||||
@@ -154,6 +157,9 @@
|
||||
synchronousPlayback: false,
|
||||
filter: (danmu) => danmu.text.length < 50,
|
||||
lockTime: 5,
|
||||
maxLength: 100,
|
||||
minWidth: 150,
|
||||
maxWidth: 0,
|
||||
mount: document.querySelector('.danmuku-input'),
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user