mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
awesome faded branches for level comparing done
This commit is contained in:
parent
19f204ddcb
commit
e7f5acaece
8 changed files with 43 additions and 1194 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue