mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 15:19:42 +02:00
Update audio player to player ui and separate out components
This commit is contained in:
parent
792268f5ee
commit
d37b25a6f6
6 changed files with 296 additions and 169 deletions
|
@ -8,6 +8,7 @@ export const state = () => ({
|
|||
streamLibraryItem: null,
|
||||
streamEpisodeId: null,
|
||||
streamIsPlaying: false,
|
||||
playerIsFullscreen: false,
|
||||
editModalTab: 'details',
|
||||
showEditModal: false,
|
||||
showEReader: false,
|
||||
|
@ -80,6 +81,9 @@ export const mutations = {
|
|||
setSource(state, source) {
|
||||
state.Source = source
|
||||
},
|
||||
setPlayerIsFullscreen(state, val) {
|
||||
state.playerIsFullscreen = val
|
||||
},
|
||||
setLastBookshelfScrollData(state, { scrollTop, path, name }) {
|
||||
state.lastBookshelfScrollData[name] = { scrollTop, path }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue