global paper gone

This commit is contained in:
Peter Cottle 2012-11-04 22:45:28 -08:00
parent 4f8b3eb044
commit 5246580b27
3 changed files with 28 additions and 48 deletions

View file

@ -283,7 +283,6 @@ var VisBranch = VisBase.extend({
},
genGraphics: function(paper) {
var textPos = this.getTextPosition();
var name = this.getName();
var text;
@ -744,7 +743,9 @@ var VisNode = VisBase.extend({
}, this);
},
genGraphics: function(paper) {
genGraphics: function() {
var paper = this.gitVisuals.paper;
var pos = this.getScreenCoords();
var textPos = this.getTextScreenCoords();