[DE] Fix preview for bullets
This commit is contained in:
parent
4a1b4bc656
commit
2a2c630834
|
@ -416,6 +416,9 @@ define([
|
||||||
|
|
||||||
me._changedProps.put_Text([new Asc.CAscNumberingLvlText()]);
|
me._changedProps.put_Text([new Asc.CAscNumberingLvlText()]);
|
||||||
me._changedProps.get_Text()[0].put_Value(props.symbol);
|
me._changedProps.get_Text()[0].put_Value(props.symbol);
|
||||||
|
if (me.api) {
|
||||||
|
me.api.SetDrawImagePreviewBullet('bulleted-list-preview', me.props, me.level, me.type==2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
callback && callback.call(me, result);
|
callback && callback.call(me, result);
|
||||||
|
@ -431,9 +434,6 @@ define([
|
||||||
});
|
});
|
||||||
win.show();
|
win.show();
|
||||||
win.on('symbol:dblclick', handler);
|
win.on('symbol:dblclick', handler);
|
||||||
if (this.api) {
|
|
||||||
this.api.SetDrawImagePreviewBullet('bulleted-list-preview', this.props, this.level, this.type==2);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_handleInput: function(state) {
|
_handleInput: function(state) {
|
||||||
|
|
Loading…
Reference in a new issue