Kaynağa Gözat

Поправлен баг

Book Pauk 4 yıl önce
ebeveyn
işleme
111568fc2e

+ 1 - 1
client/components/Reader/SettingsPage/SettingsPage.vue

@@ -113,7 +113,7 @@ export default @Component({
         },
         },
         vertShift: function(newValue) {
         vertShift: function(newValue) {
             const font = (this.webFontName ? this.webFontName : this.fontName);
             const font = (this.webFontName ? this.webFontName : this.fontName);
-            if (this.fontShifts[font] != newValue) {
+            if (this.fontShifts[font] != newValue || this.fontVertShift != newValue) {
                 this.fontShifts = Object.assign({}, this.fontShifts, {[font]: newValue});
                 this.fontShifts = Object.assign({}, this.fontShifts, {[font]: newValue});
                 this.fontVertShift = newValue;
                 this.fontVertShift = newValue;
             }
             }