[DE] Preview list settings

This commit is contained in:
Julia Radzhabova 2019-12-24 17:20:35 +03:00
parent af1d560430
commit d9a456c7cd

View file

@ -258,7 +258,7 @@ define([
} }
} }
if (this.api) { if (this.api) {
//this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2);
} }
}, this)); }, this));
@ -277,7 +277,7 @@ define([
if (this._changedProps) if (this._changedProps)
this._changedProps.put_Align(record.value); this._changedProps.put_Align(record.value);
if (this.api) { if (this.api) {
//this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2);
} }
}, this)); }, this));
@ -313,7 +313,7 @@ define([
this._changedProps.get_TextPr().put_FontSize((record.value>0) ? record.value : undefined); this._changedProps.get_TextPr().put_FontSize((record.value>0) ? record.value : undefined);
} }
if (this.api) { if (this.api) {
//this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2);
} }
}, this)); }, this));
@ -355,7 +355,7 @@ define([
this._changedProps.get_TextPr().put_Color(color); this._changedProps.get_TextPr().put_Color(color);
} }
if (this.api) { 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); this._changedProps.get_TextPr().put_Color(undefined);
} }
if (this.api) { 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[0].setChecked(false, true);
this.btnColor.menu.items[1].setChecked(false, true); this.btnColor.menu.items[1].setChecked(false, true);
if (this.api) { 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.show();
win.on('symbol:dblclick', handler); win.on('symbol:dblclick', handler);
if (this.api) { 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]; this._changedProps = this.levels[this.level];
if (this.api) { if (this.api) {
//this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props); this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.type==2);
} }
}, },