feat(PlayQueue): disable shuffle mode when playing album or list
This commit is contained in:
		
							parent
							
								
									c02c3edce9
								
							
						
					
					
						commit
						84aca02fc0
					
				| 
						 | 
				
			
			@ -44,6 +44,7 @@ function playTheAlbum(from: number = 0) {
 | 
			
		|||
			album: album.value
 | 
			
		||||
		})
 | 
			
		||||
	}
 | 
			
		||||
	playQueue.playMode.shuffle = false
 | 
			
		||||
	playQueue.list = newPlayQueue
 | 
			
		||||
	playQueue.currentIndex = from
 | 
			
		||||
	playQueue.isPlaying = true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,6 +31,7 @@ function playTheList(list: 'favourites' | number, playFrom: number = 0) {
 | 
			
		|||
		}))
 | 
			
		||||
		playQueueStore.list = newPlayQueue.slice().reverse()
 | 
			
		||||
		playQueueStore.currentIndex = playFrom
 | 
			
		||||
		playQueueStore.playMode.shuffle = false
 | 
			
		||||
		playQueueStore.isPlaying = true
 | 
			
		||||
		playQueueStore.isBuffering = true
 | 
			
		||||
	} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user