Commit 2e6beac1 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 31172 - [TextArt]Не попадаем в нулевые настройки Text Art, если он...

Bug 31172 - [TextArt]Не попадаем в нулевые настройки Text Art, если он содержит различные настройки Gradient Fill 

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67047 954022d7-b5bf-4e40-9824-e11837661b57
parent 23b196de
...@@ -2263,7 +2263,7 @@ CGs.prototype = ...@@ -2263,7 +2263,7 @@ CGs.prototype =
compare: function(gs) compare: function(gs)
{ {
if( gs.pos === this.pos){ if( gs.pos !== this.pos){
return null; return null;
} }
var compare_unicolor = this.color.compare(gs.color); var compare_unicolor = this.color.compare(gs.color);
...@@ -2636,7 +2636,7 @@ CGradFill.prototype = ...@@ -2636,7 +2636,7 @@ CGradFill.prototype =
var compare_unicolor = this.colors[i].compare(fill.colors[i]); var compare_unicolor = this.colors[i].compare(fill.colors[i]);
if(!isRealObject(compare_unicolor)) if(!isRealObject(compare_unicolor))
{ {
break; return null;
} }
_ret.colors[i] = compare_unicolor; _ret.colors[i] = compare_unicolor;
} }
......
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