mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
After the ugly hacks
This commit is contained in:
parent
858b76b1a6
commit
51bed71e1b
1 changed files with 5 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue