From 261f4d701bb415dd0ece7a0ed2cab78d42d70cd7 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Thu, 29 Apr 2021 14:12:14 +0300 Subject: [PATCH] [DE mobile] Fix warnings --- apps/documenteditor/mobile/src/store/focusObjects.js | 1 + apps/documenteditor/mobile/src/store/paragraphSettings.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/apps/documenteditor/mobile/src/store/focusObjects.js b/apps/documenteditor/mobile/src/store/focusObjects.js index 566463bee..00cba2705 100644 --- a/apps/documenteditor/mobile/src/store/focusObjects.js +++ b/apps/documenteditor/mobile/src/store/focusObjects.js @@ -24,6 +24,7 @@ export class storeFocusObjects { _headerType = 1; resetFocusObjects (objects) { + this._focusObjects = objects; } get settings() { diff --git a/apps/documenteditor/mobile/src/store/paragraphSettings.js b/apps/documenteditor/mobile/src/store/paragraphSettings.js index ecbe07431..ed5bd2004 100644 --- a/apps/documenteditor/mobile/src/store/paragraphSettings.js +++ b/apps/documenteditor/mobile/src/store/paragraphSettings.js @@ -20,6 +20,11 @@ export class storeParagraphSettings { styleName = undefined; initEditorStyles (styles) { + this.styles = styles.get_MergedStyles(); + this.styleThumbSize = { + width : styles.STYLE_THUMBNAIL_WIDTH, + height : styles.STYLE_THUMBNAIL_HEIGHT + }; } get paragraphStyles () { @@ -34,6 +39,7 @@ export class storeParagraphSettings { } changeParaStyleName (name) { + this.styleName = name; } backColor = undefined;