mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix(Player.js): 右键播放不显示播放器(#1965)
This commit is contained in:
parent
fd40a29180
commit
a5bf5c7dfd
1 changed files with 1 additions and 0 deletions
|
|
@ -936,6 +936,7 @@ export default class {
|
||||||
addTrackToPlayNext(trackID, playNow = false) {
|
addTrackToPlayNext(trackID, playNow = false) {
|
||||||
this._playNextList.push(trackID);
|
this._playNextList.push(trackID);
|
||||||
if (playNow) {
|
if (playNow) {
|
||||||
|
if (!this._enabled) this._enabled = true;
|
||||||
this.playNextTrack();
|
this.playNextTrack();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue