提交 0c52a881 编写于 作者: S serge-rider

RSV: gradient colors fix (no coloring outside the range)

上级 ddccd42e
......@@ -638,13 +638,15 @@ public class ResultSetModel {
foreground = acs.colorForeground;
RGB rowRGB = ResultSetUtils.makeGradientValue(acs.colorBackground.getRGB(), acs.colorBackground2.getRGB(), minValue, maxValue, value);
background = UIUtils.getSharedColor(rowRGB);
} else if (value < minValue) {
}
// FIXME: coloring value before and after range. Maybe we need an option for this.
/* else if (value < minValue) {
foreground = acs.colorForeground;
background = acs.colorBackground;
} else if (value > maxValue) {
foreground = acs.colorForeground2;
background = acs.colorBackground2;
}
}*/
}
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册