diff --git a/komga-webui/src/views/BookReader.vue b/komga-webui/src/views/BookReader.vue
index d1b15d128..4f97c1a65 100644
--- a/komga-webui/src/views/BookReader.vue
+++ b/komga-webui/src/views/BookReader.vue
@@ -134,7 +134,9 @@
:transition="animations ? undefined : false"
:reverse-transition="animations ? undefined : false"
>
-
+
+
+
+
+
+
+
{
+ if (v) {
+ this.backgroundColor = v
+ }
+ })
},
destroyed () {
window.removeEventListener('keydown', this.keyPressed)
@@ -422,6 +445,15 @@ export default Vue.extend({
this.$cookies.set(cookieFit, fit, Infinity)
}
},
+ backgroundColor: {
+ get: function (): string {
+ return this.settings.backgroundColor
+ },
+ set: function (color: string): void {
+ this.settings.backgroundColor = color
+ this.$cookies.set(cookieBackground, color, Infinity)
+ }
+ },
doublePages: {
get: function (): boolean {
return this.settings.doublePages
@@ -601,11 +633,6 @@ export default Vue.extend({