mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 13:40:15 +08:00
[DE mobile] Fixed paragraph styles.
This commit is contained in:
@ -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){
|
||||
|
||||
Reference in New Issue
Block a user