From b840659ac28576d61143eb89e7d79341786eab1a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 18 Dec 2019 16:54:40 +0300 Subject: [PATCH] [DE] List settings: update preview --- .../main/app/view/ListSettingsDialog.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/documenteditor/main/app/view/ListSettingsDialog.js b/apps/documenteditor/main/app/view/ListSettingsDialog.js index 9586e206b..cb319dd04 100644 --- a/apps/documenteditor/main/app/view/ListSettingsDialog.js +++ b/apps/documenteditor/main/app/view/ListSettingsDialog.js @@ -249,7 +249,7 @@ define([ } } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this._changedProps); + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); } }, this)); @@ -268,7 +268,7 @@ define([ if (this._changedProps) this._changedProps.put_Align(record.value); if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this._changedProps); + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); } }, this)); @@ -304,7 +304,7 @@ define([ this._changedProps.get_TextPr().put_FontSize((record.value>0) ? record.value : undefined); } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this._changedProps); + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); } }, this)); @@ -348,7 +348,7 @@ define([ this._changedProps.get_TextPr().put_Color(color); } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this._changedProps); + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); } }, @@ -360,7 +360,7 @@ define([ } this.isAutoColor = false; if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this._changedProps); + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); } }, @@ -400,7 +400,7 @@ define([ win.show(); win.on('symbol:dblclick', handler); if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this._changedProps); + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); } }, @@ -443,6 +443,9 @@ define([ this.fillLevelProps(this.levels[this.level]); } this._changedProps = this.levels[this.level]; + if (this.api) { + //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + } }, onSelectLevel: function(listView, itemView, record) {