[de mobile] change metric text
This commit is contained in:
parent
02a9aad05d
commit
0f043e0faa
|
@ -171,7 +171,7 @@ define([
|
|||
|
||||
initSettings: function (pageId) {
|
||||
var me = this;
|
||||
|
||||
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||
if (_chartObject) {
|
||||
if (pageId == '#edit-chart-wrap') {
|
||||
me._initWrapView();
|
||||
|
@ -222,6 +222,7 @@ define([
|
|||
paletteFillColor = me.getView('EditChart').paletteFillColor,
|
||||
paletteBorderColor = me.getView('EditChart').paletteBorderColor;
|
||||
|
||||
|
||||
// Style
|
||||
|
||||
var type = chartProperties.getType();
|
||||
|
@ -426,6 +427,7 @@ define([
|
|||
properties = new Asc.asc_CImgProperty(),
|
||||
paddings = new Asc.asc_CPaddings();
|
||||
|
||||
|
||||
$('.chart-wrap .distance .item-after').text(value + ' ' + _metricText);
|
||||
|
||||
value = Common.Utils.Metric.fnRecalcToMM(parseInt(value));
|
||||
|
|
|
@ -147,6 +147,7 @@ define([
|
|||
me._initWrapView();
|
||||
}
|
||||
}
|
||||
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||
},
|
||||
|
||||
_initWrapView: function() {
|
||||
|
|
|
@ -129,6 +129,7 @@ define([
|
|||
initSettings: function () {
|
||||
var me = this;
|
||||
|
||||
metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||
var selectedElements = me.api.getSelectedElements();
|
||||
if (selectedElements && _.isArray(selectedElements)) {
|
||||
for (var i = selectedElements.length - 1; i >= 0; i--) {
|
||||
|
|
|
@ -181,6 +181,7 @@ define([
|
|||
me.getView('EditShape').isShapeCanFill = _shapeObject.get_ShapeProperties().get_CanFill();
|
||||
}
|
||||
}
|
||||
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||
},
|
||||
|
||||
_initWrapView: function() {
|
||||
|
|
|
@ -185,6 +185,7 @@ define([
|
|||
|
||||
initSettings: function (pageId) {
|
||||
var me = this;
|
||||
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||
|
||||
if (_tableObject) {
|
||||
if (pageId == '#edit-table-wrap') {
|
||||
|
|
Loading…
Reference in a new issue