Change some item
This commit is contained in:
parent
996596e672
commit
a4be9ea019
@ -17,6 +17,7 @@ TODO:
|
||||
* [ ] 不确定能否完成 ———— 放弃HTML自带audio标签样式,重写播放控制器UI(工程量巨大)
|
||||
* [ ] Bug: 在歌曲检索的时候列表高度莫名其妙变高了,需要更正。
|
||||
* [x] TitleControl的Activate机制优化,自动与StartLoop绑定。**(正在测试中)**
|
||||
* [x] 更改一下循环逻辑,在结尾增加一定空格 **(勉强能用,需要修正)**
|
||||
|
||||
---
|
||||
Changelog:
|
||||
|
||||
@ -54,7 +54,7 @@ class TitleStat{
|
||||
this.noScrollTitle();
|
||||
} else {
|
||||
window.userdefines_title = {
|
||||
"TempTitle": this.TargetTitle,
|
||||
"TempTitle": this.TargetTitle + " ",
|
||||
}
|
||||
this.GlobalInterval = setInterval(this.scorllTheTitle, this.SCROLL_SPEED);
|
||||
}
|
||||
@ -107,7 +107,7 @@ window.onblur = () => {
|
||||
// document.title = "Song!";
|
||||
// TitleControl.setTargetTitle("Song!")
|
||||
console.log("您已离开播放器!");
|
||||
TitleControl.setScrollSpeed(2000);
|
||||
TitleControl.setScrollSpeed(500);
|
||||
TitleControl.setTargetTitle(document.getElementById("nowplay").innerHTML);
|
||||
TitleControl.startLoop();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user