Commit 215a4c98 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Fix Bug 34066

parent c7dee393
......@@ -224,7 +224,7 @@ define([
$('#edit-shape-bordersize .item-after').text(((borderType == Asc.c_oAscStrokeType.STROKE_NONE) ? 0 : borderSizeTransform.sizeByValue(borderSize)) + ' ' + _metricText);
// Init style opacity
$('#edit-shape-effect input').val([shapeProperties.get_fill().transparent ? shapeProperties.get_fill().transparent / 2.55 : 100]);
$('#edit-shape-effect input').val([shapeProperties.get_fill().asc_getTransparent() ? shapeProperties.get_fill().asc_getTransparent() / 2.55 : 100]);
$('#edit-shape-effect .item-after').text($('#edit-shape-effect input').val() + ' ' + "%");
paletteFillColor && paletteFillColor.on('select', _.bind(me.onFillColor, me));
......
......@@ -3,7 +3,7 @@
"Common.UI.ThemeColorPalette.textThemeColors": "Цвета темы",
"Common.Utils.Metric.txtCm": "см",
"Common.Utils.Metric.txtPt": "пт",
"DE.Controllers.AddContainer.textImage": "Изображение",
"DE.Controllers.AddContainer.textImage": "Картинка",
"DE.Controllers.AddContainer.textOther": "Другое",
"DE.Controllers.AddContainer.textShape": "Фигура",
"DE.Controllers.AddContainer.textTable": "Таблица",
......
......@@ -195,7 +195,7 @@ define([
// Effect
// Init style opacity
$('#edit-shape-effect input').val([shapeProperties.get_fill().transparent ? shapeProperties.get_fill().transparent / 2.55 : 100]);
$('#edit-shape-effect input').val([shapeProperties.get_fill().asc_getTransparent() ? shapeProperties.get_fill().asc_getTransparent() / 2.55 : 100]);
$('#edit-shape-effect .item-after').text($('#edit-shape-effect input').val() + ' ' + "%");
$('#edit-shape-effect input').single('change touchend', _.buffered(me.onOpacity, 100, me));
$('#edit-shape-effect input').single('input', _.bind(me.onOpacityChanging, me));
......
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