mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 20:31:35 +02:00
Merge branch 'master' into feature/better-file-caching
This commit is contained in:
commit
71b62cb3aa
5 changed files with 86 additions and 4 deletions
|
@ -270,6 +270,10 @@ export default class {
|
|||
this.queue = newQueue;
|
||||
}
|
||||
|
||||
removeFromQueue(index: number, amount = 1): void {
|
||||
this.queue.splice(this.queuePosition + index, amount);
|
||||
}
|
||||
|
||||
removeCurrent(): void {
|
||||
this.queue = [...this.queue.slice(0, this.queuePosition), ...this.queue.slice(this.queuePosition + 1)];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue