Commit 470caa09 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Fixed paragraph styles.

parent fb589034
......@@ -78,6 +78,8 @@ define([
var me = this;
me.api = api;
me.api.asc_setParagraphStylesSizes(330, 38);
me.api.asc_registerCallback('asc_onInitEditorStyles', _.bind(me.onApiInitEditorStyles, me));
me.api.asc_registerCallback('asc_onFocusObject', _.bind(me.onApiFocusObject, me));
me.api.asc_registerCallback('asc_onParaStyleName', _.bind(me.onApiParagraphStyleChange, me));
......@@ -302,11 +304,10 @@ define([
return;
}
_styles = [];
_styles = [],
_styleTumbSize = {
width : styles.STYLE_THUMBNAIL_WIDTH / uiApp.device.pixelRatio,
height : styles.STYLE_THUMBNAIL_HEIGHT / uiApp.device.pixelRatio
width : styles.STYLE_THUMBNAIL_WIDTH,
height : styles.STYLE_THUMBNAIL_HEIGHT
};
_.each(styles.get_MergedStyles(), function(style){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment