After the ugly hacks

This commit is contained in:
Peter Cottle 2012-09-22 09:23:27 -07:00
parent 858b76b1a6
commit 51bed71e1b

View file

@ -30,8 +30,11 @@ var VisBranch = Backbone.Model.extend({
return;
}
var name = this.get('branch').get('id');
var circle = paper.text(pos.x, pos.y, String(name));
this.set('text', circle);
var text = paper.text(pos.x, pos.y, String(name));
text.attr({
'font-size': 16
});
this.set('text', text);
},
animateUpdatedPos: function(paper) {