浏览代码

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

Book Pauk 4 年之前
父节点
当前提交
111568fc2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
             }