establishes optimal min opacity of 20

This commit is contained in:
Francisco Dans 2015-05-12 12:12:54 +02:00
parent df494cadb6
commit 2d6632afb8

View File

@ -222,7 +222,7 @@ BallRenderer.prototype = {
for (var i = 0, len = contour.length; i<len; i+=4){
if(!eq){
var alpha = contour[i + 3];
if (alpha > 0 && alpha < 255){
if (alpha > 20 && alpha < 255){
var neighbors = this.getNeighbors(i);
var refCol = contour[neighbors[0]+3];
for (var n = 1, ln = neighbors.length; n<ln; ++n){