[DE] Fix preview for multilevel list
This commit is contained in:
parent
8a99c4ad9e
commit
228d8311a6
|
@ -258,7 +258,7 @@ define([
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, 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.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, 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.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
||||||
}
|
}
|
||||||
}, this));
|
}, this));
|
||||||
|
|
||||||
|
@ -363,7 +363,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.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -378,7 +378,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.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -392,7 +392,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.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -432,7 +432,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.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ define([
|
||||||
this.cmbFormat.setValue((format!==undefined) ? format : '');
|
this.cmbFormat.setValue((format!==undefined) ? format : '');
|
||||||
}
|
}
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level);
|
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue