[PE mobile] Bug 50789

This commit is contained in:
SergeyEzhin 2021-06-23 00:34:35 +03:00
parent 91c3517696
commit 5229b93eeb

View file

@ -16,6 +16,7 @@ export class storeTextSettings {
paragraphValign: observable,
textIn: observable,
initTextSettings: action,
initFontSettings: action,
initEditorFonts: action,
initFontInfo: action,
changeTextColor: action,
@ -46,6 +47,10 @@ export class storeTextSettings {
default: this.textIn = 0;
}
this.initFontSettings(xfs);
}
initFontSettings(xfs) {
this.fontName = xfs.asc_getFontName();
this.fontSize = xfs.asc_getFontSize();