From d9a456c7cd63c7c6bdb01691a4862bae88d89ab1 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 24 Dec 2019 17:20:35 +0300 Subject: [PATCH] [DE] Preview list settings --- .../main/app/view/ListSettingsDialog.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/documenteditor/main/app/view/ListSettingsDialog.js b/apps/documenteditor/main/app/view/ListSettingsDialog.js index 881d623ca..2988bea91 100644 --- a/apps/documenteditor/main/app/view/ListSettingsDialog.js +++ b/apps/documenteditor/main/app/view/ListSettingsDialog.js @@ -258,7 +258,7 @@ define([ } } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } }, this)); @@ -277,7 +277,7 @@ define([ if (this._changedProps) this._changedProps.put_Align(record.value); if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } }, this)); @@ -313,7 +313,7 @@ define([ this._changedProps.get_TextPr().put_FontSize((record.value>0) ? record.value : undefined); } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } }, this)); @@ -355,7 +355,7 @@ define([ this._changedProps.get_TextPr().put_Color(color); } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } } }, @@ -370,7 +370,7 @@ define([ this._changedProps.get_TextPr().put_Color(undefined); } if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } } }, @@ -384,7 +384,7 @@ define([ this.btnColor.menu.items[0].setChecked(false, true); this.btnColor.menu.items[1].setChecked(false, true); if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } }, @@ -424,7 +424,7 @@ define([ win.show(); win.on('symbol:dblclick', handler); if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } }, @@ -477,7 +477,7 @@ define([ } this._changedProps = this.levels[this.level]; if (this.api) { - //this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); + this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2); } },