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