mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-25 13:19:38 +00:00
Remove experimental set bookshelf texture
This commit is contained in:
parent
7456052620
commit
705aac40d7
12 changed files with 0 additions and 102 deletions
|
|
@ -21,7 +21,6 @@ export const state = () => ({
|
|||
bookshelfBookIds: [],
|
||||
openModal: null,
|
||||
innerModalOpen: false,
|
||||
selectedBookshelfTexture: '/textures/wood_default.jpg',
|
||||
lastBookshelfScrollData: {}
|
||||
})
|
||||
|
||||
|
|
@ -74,11 +73,6 @@ export const actions = {
|
|||
console.error('Update check failed', error)
|
||||
return false
|
||||
})
|
||||
},
|
||||
setBookshelfTexture({ commit, state }, img) {
|
||||
let root = document.documentElement;
|
||||
commit('setBookshelfTexture', img)
|
||||
root.style.setProperty('--bookshelf-texture-img', `url(${img})`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -180,8 +174,5 @@ export const mutations = {
|
|||
},
|
||||
setInnerModalOpen(state, val) {
|
||||
state.innerModalOpen = val
|
||||
},
|
||||
setBookshelfTexture(state, val) {
|
||||
state.selectedBookshelfTexture = val
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue