No need to set text fillColor to black anymore, as it's the default now.

This commit is contained in:
Jürg Lehni 2011-06-20 20:25:19 +01:00
parent 937a9def77
commit 23a0db603f

View file

@ -113,7 +113,6 @@
var text = new PointText(center
+ through.normalize(radius + 10) + new Point(0, 3));
text.content = Math.floor(vector.angle * 100) / 100 + '\xb0';
text.fillColor = 'black';
items.push(text);
}
}
@ -151,7 +150,6 @@
text.justification = 'center';
value = value || vector.length;
text.content = (prefix || '') + Math.floor(value * 1000) / 1000;
text.fillColor = 'black';
items.push(text);
}
}