update danmuku style

This commit is contained in:
Harvey Zack committed 2022-05-14 11:44:51 +08:00
1 parent 1ec4719806
commit e690af2de4
4 files changed
+7 -5

No files matched your search

@@ -343,7 +343,8 @@ export default class Danmuku {
danmu.$ref.style.opacity = this.option.opacity;
danmu.$ref.style.fontSize = `${this.option.fontSize}px`;
danmu.$ref.style.color = danmu.color || '#fff';
danmu.$ref.style.border = danmu.border ? `1px solid ${danmu.color || '#fff'}` : 'none';
danmu.$ref.style.border = danmu.border ? `1px solid ${danmu.color || '#fff'}` : null;
danmu.$ref.style.backgroundColor = danmu.border ? 'rgb(0 0 0 / 50%)' : null;
danmu.$ref.style.marginLeft = '0px';
danmu.$lastStartTime = Date.now();
@@ -40,7 +40,7 @@
.art-danmuku-style-panel-mode {
display: flex;
justify-content: center;
width: 48%;
width: 47%;
padding: 4px 0;
cursor: pointer;
color: #fff;