awesome faded branches for level comparing done

This commit is contained in:
Peter Cottle 2013-07-07 21:01:06 -07:00
parent 19f204ddcb
commit e7f5acaece
8 changed files with 43 additions and 1194 deletions

View file

@ -166,8 +166,11 @@ var Level = Sandbox.extend({
},
initGoalVisualization: function() {
var onlyMaster = TreeCompare.onlyMasterCompared(this.level);
// first we make the goal visualization holder
this.goalCanvasHolder = new CanvasTerminalHolder();
this.goalCanvasHolder = new CanvasTerminalHolder({
text: (onlyMaster) ? intl.str('goal-only-master') : undefined
});
// then we make a visualization. the "el" here is the element to
// track for size information. the container is where the canvas will be placed