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

This commit is contained in:
Book Pauk
2021-02-09 21:16:17 +07:00
parent 825136b5ff
commit 111568fc2e

View File

@@ -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;
}