diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 772f79da..8a31b106 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -147,9 +147,6 @@ export default { } }, methods: { - toggleBookshelfTexture() { - this.$store.dispatch('setBookshelfTexture', 'wood2.png') - }, cancelSelectionMode() { if (this.processingBatchDelete) return this.$store.commit('setSelectedLibraryItems', []) diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index beabb150..3322677f 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -2,10 +2,6 @@
- -
-

Texture

-

{{ libraryName }} Library is empty!

@@ -100,9 +96,6 @@ export default { } }, methods: { - showBookshelfTextureModal() { - this.$store.commit('globals/setShowBookshelfTextureModal', true) - }, async init() { this.wrapperClientWidth = this.$refs.wrapper ? this.$refs.wrapper.clientWidth : 0 diff --git a/client/components/app/LazyBookshelf.vue b/client/components/app/LazyBookshelf.vue index 3f8f7d71..0a4e0c5b 100644 --- a/client/components/app/LazyBookshelf.vue +++ b/client/components/app/LazyBookshelf.vue @@ -22,13 +22,6 @@
- - -
-
-

Texture

-
-
@@ -206,9 +199,6 @@ export default { } }, methods: { - showBookshelfTextureModal() { - this.$store.commit('globals/setShowBookshelfTextureModal', true) - }, clearFilter() { this.$store.dispatch('user/updateUserSettings', { filterBy: 'all' }) }, diff --git a/client/components/modals/BookshelfTextureModal.vue b/client/components/modals/BookshelfTextureModal.vue deleted file mode 100644 index 70144b6e..00000000 --- a/client/components/modals/BookshelfTextureModal.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/client/layouts/default.vue b/client/layouts/default.vue index 5c5ae4d1..5da2a9e8 100644 --- a/client/layouts/default.vue +++ b/client/layouts/default.vue @@ -12,7 +12,6 @@ - diff --git a/client/static/textures/leather1.jpg b/client/static/textures/leather1.jpg deleted file mode 100644 index 211468a0..00000000 Binary files a/client/static/textures/leather1.jpg and /dev/null differ diff --git a/client/static/textures/wood1.png b/client/static/textures/wood1.png deleted file mode 100644 index c501ab35..00000000 Binary files a/client/static/textures/wood1.png and /dev/null differ diff --git a/client/static/textures/wood2.png b/client/static/textures/wood2.png deleted file mode 100644 index 2b867349..00000000 Binary files a/client/static/textures/wood2.png and /dev/null differ diff --git a/client/static/textures/wood3.png b/client/static/textures/wood3.png deleted file mode 100644 index 85e444b1..00000000 Binary files a/client/static/textures/wood3.png and /dev/null differ diff --git a/client/static/textures/wood4.png b/client/static/textures/wood4.png deleted file mode 100644 index 95e5c54d..00000000 Binary files a/client/static/textures/wood4.png and /dev/null differ diff --git a/client/store/globals.js b/client/store/globals.js index 16d1ef91..b02eb286 100644 --- a/client/store/globals.js +++ b/client/store/globals.js @@ -11,7 +11,6 @@ export const state = () => ({ selectedEpisode: null, selectedCollection: null, selectedAuthor: null, - showBookshelfTextureModal: false, isCasting: false, // Actively casting isChromecastInitialized: false // Script loaded }) @@ -64,9 +63,6 @@ export const mutations = { setSelectedEpisode(state, episode) { state.selectedEpisode = episode }, - setShowBookshelfTextureModal(state, val) { - state.showBookshelfTextureModal = val - }, showEditAuthorModal(state, author) { state.selectedAuthor = author state.showEditAuthorModal = true diff --git a/client/store/index.js b/client/store/index.js index 00af664b..dd02f575 100644 --- a/client/store/index.js +++ b/client/store/index.js @@ -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 } } \ No newline at end of file