Эх сурвалжийг харах

Переход на quasar

Book Pauk 5 жил өмнө
parent
commit
8254bf934c

+ 2 - 0
client/components/Reader/SettingsPage/SettingsPage.vue

@@ -198,6 +198,8 @@ selectedTabOld = null;//todo: remove
         this.webFonts = rstore.webFonts;
         const font = (this.webFontName ? this.webFontName : this.fontName);
         this.vertShift = this.fontShifts[font] || 0;
+        this.textColorFiltered = this.textColor;
+        this.bgColorFiltered = this.backgroundColor;
     }
 
     get mode() {

+ 1 - 2
client/components/Reader/SettingsPage/include/ViewTab.inc

@@ -10,7 +10,6 @@
                 :rules="['hexColor']"
                 class="no-mp"
                 style="max-width: 150px"
-                :disabled="wallpaper != ''"
             >
                 <template v-slot:prepend>
                     <q-icon name="la la-angle-down la-xs" class="cursor-pointer text-white" :style="colorPanStyle('text')">
@@ -41,7 +40,7 @@
                 :rules="['hexColor']"
                 class="no-mp"
                 style="max-width: 150px"
-                :disabled="wallpaper != ''"
+                :disable="wallpaper != ''"
             >
                 <template v-slot:prepend>
                     <q-icon name="la la-angle-down la-xs" class="cursor-pointer text-white" :style="colorPanStyle('bg')">