diff --git a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js index 89344d0d75..c169198e60 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js @@ -55,7 +55,7 @@ define([ _paragraphInfo = {}, _paragraphObject = undefined, _styles = [], - _styleTumbSize, + _styleThumbSize, metricText = Common.Utils.Metric.getCurrentMetricName(); return { @@ -180,8 +180,8 @@ define([ return _styles || []; }, - getTumbSize: function () { - return _styleTumbSize || {width: 0, height: 0}; + getThumbSize: function () { + return _styleThumbSize || {width: 0, height: 0}; }, // Handlers @@ -308,9 +308,9 @@ define([ } _styles = []; - _styleTumbSize = { - width : styles.STYLE_THUMBNAIL_WIDTH / uiApp.device.pixelRatio, - height : styles.STYLE_THUMBNAIL_HEIGHT / uiApp.device.pixelRatio + _styleThumbSize = { + width : styles.STYLE_THUMBNAIL_WIDTH, + height : styles.STYLE_THUMBNAIL_HEIGHT }; _.each(styles.get_MergedStyles(), function(style){ diff --git a/apps/documenteditor/mobile/app/view/edit/EditParagraph.js b/apps/documenteditor/mobile/app/view/edit/EditParagraph.js index 3e0f053b26..32017f5837 100644 --- a/apps/documenteditor/mobile/app/view/edit/EditParagraph.js +++ b/apps/documenteditor/mobile/app/view/edit/EditParagraph.js @@ -121,7 +121,7 @@ define([ renderStyles: function () { var me = this, - thimbSize = DE.getController('EditParagraph').getTumbSize(), + thumbSize = DE.getController('EditParagraph').getThumbSize(), $styleList = $('#paragraph-list ul'), template = _.template( '
  • ' + @@ -129,7 +129,7 @@ define([ '' + (Framework7.prototype.device.android ? '
    ' : '') + '
    ' + - '
    '.format(thimbSize.width, thimbSize.height) + + '
    '.format(thumbSize.width, thumbSize.height) + '
    ' + '' + '
  • '