From dc50581e7cfca0f1c4ffde5241c00cd7b82ed0db Mon Sep 17 00:00:00 2001 From: ShimaginAndrey Date: Fri, 16 Jul 2021 16:18:10 +0300 Subject: [PATCH] [DE PE] Fix Bug 47943 --- apps/documenteditor/mobile/src/view/edit/EditText.jsx | 4 ++-- apps/presentationeditor/mobile/src/view/edit/EditText.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/edit/EditText.jsx b/apps/documenteditor/mobile/src/view/edit/EditText.jsx index e14cf43ed..d8198ac2c 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditText.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditText.jsx @@ -119,13 +119,13 @@ const PageAdditionalFormatting = props => { - {!isAndroid &&
{letterSpacing + ' ' + Common.Utils.Metric.getCurrentMetricName()}
} + {!isAndroid &&
{(Number.isInteger(letterSpacing) ? letterSpacing : letterSpacing.toFixed(2)) + ' ' + Common.Utils.Metric.getCurrentMetricName()}
}
- {isAndroid && } + {isAndroid && } diff --git a/apps/presentationeditor/mobile/src/view/edit/EditText.jsx b/apps/presentationeditor/mobile/src/view/edit/EditText.jsx index cb78c4800..d6a987513 100644 --- a/apps/presentationeditor/mobile/src/view/edit/EditText.jsx +++ b/apps/presentationeditor/mobile/src/view/edit/EditText.jsx @@ -377,13 +377,13 @@ const PageAdditionalFormatting = props => { - {!isAndroid &&
{Number(letterSpacing).toFixed(2) + ' ' + Common.Utils.Metric.getCurrentMetricName()}
} + {!isAndroid &&
{(Number.isInteger(letterSpacing) ? letterSpacing : letterSpacing.toFixed(2)) + ' ' + Common.Utils.Metric.getCurrentMetricName()}
}
- {isAndroid && } + {isAndroid && }