From cc37bd9e5923f5daf1e801b132f563731538d784 Mon Sep 17 00:00:00 2001 From: Julia Svinareva Date: Thu, 5 Dec 2019 13:49:45 +0300 Subject: [PATCH] [SSE] Fix bug 43764 --- apps/spreadsheeteditor/main/app/view/CellSettings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/CellSettings.js b/apps/spreadsheeteditor/main/app/view/CellSettings.js index 9aba05098..136c3d444 100644 --- a/apps/spreadsheeteditor/main/app/view/CellSettings.js +++ b/apps/spreadsheeteditor/main/app/view/CellSettings.js @@ -1068,7 +1068,7 @@ define([ var arrGradStop = []; this.GradColor.values.forEach(function (item, index) { var gradientStop = new Asc.asc_CGradientStop(); - gradientStop.asc_setColor(Common.Utils.ThemeColor.getRgbColor(me.GradColor.colors[index])); + gradientStop.asc_setColor(Common.Utils.ThemeColor.getRgbColor(Common.Utils.ThemeColor.colorValue2EffectId(me.GradColor.colors[index]))); gradientStop.asc_setPosition(me.GradColor.values[index]/100); arrGradStop.push(gradientStop); }); @@ -1124,7 +1124,7 @@ define([ var arrGradStop = []; this.GradColor.colors.forEach(function (item, index) { var gradientStop = new Asc.asc_CGradientStop(); - gradientStop.asc_setColor(Common.Utils.ThemeColor.getRgbColor(me.GradColor.colors[index])); + gradientStop.asc_setColor(Common.Utils.ThemeColor.getRgbColor(Common.Utils.ThemeColor.colorValue2EffectId(me.GradColor.colors[index]))); gradientStop.asc_setPosition(me.GradColor.values[index]/100); arrGradStop.push(gradientStop); });