vis branch fix

This commit is contained in:
Peter Cottle 2013-01-09 01:33:50 -08:00
parent 13b616bd04
commit 0c7ff70b14
9 changed files with 501 additions and 21 deletions

View file

@ -273,6 +273,12 @@ var VisBranch = VisBase.extend({
this.get('text').toFront();
},
textToFrontIfInStack: function() {
if (this.getBranchStackIndex() !== 0) {
this.get('text').toFront();
}
},
getFill: function() {
// in the easy case, just return your own fill if you are:
// - the HEAD ref