Browse Source

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

Book Pauk 4 years ago
parent
commit
111568fc2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/components/Reader/SettingsPage/SettingsPage.vue

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

@@ -113,7 +113,7 @@ export default @Component({
         },
         vertShift: function(newValue) {
             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.fontVertShift = newValue;
             }