Commit be13d981 authored by GoshaZotov's avatar GoshaZotov

fix bug: apply color filter by cell

parent 61da3536
...@@ -7001,6 +7001,7 @@ ColorFilter.prototype.clone = function() { ...@@ -7001,6 +7001,7 @@ ColorFilter.prototype.clone = function() {
ColorFilter.prototype.isHideValue = function(cell) { ColorFilter.prototype.isHideValue = function(cell) {
var res = true; var res = true;
var t = this;
var isEqualColors = function(filterColor, cellColor) var isEqualColors = function(filterColor, cellColor)
{ {
...@@ -7029,7 +7030,7 @@ ColorFilter.prototype.isHideValue = function(cell) { ...@@ -7029,7 +7030,7 @@ ColorFilter.prototype.isHideValue = function(cell) {
{ {
var filterColor = this.dxf.fill.bg; var filterColor = this.dxf.fill.bg;
cell.getLeftTopCellNoEmpty(function(cell) { cell.getLeftTopCellNoEmpty(function(cell) {
if(false === this.CellColor)//font color if(false === t.CellColor)//font color
{ {
var multiText; var multiText;
if(cell && (multiText = cell.getValueMultiText()) !== null) if(cell && (multiText = cell.getValueMultiText()) !== null)
......
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