mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
fixed vis for remote git demonstration views
This commit is contained in:
parent
082f3c561a
commit
740a94ccf6
5 changed files with 29 additions and 9 deletions
|
@ -105,6 +105,12 @@ var Visualization = Backbone.View.extend({
|
|||
treeString: options.treeString
|
||||
}
|
||||
));
|
||||
// if the z index is set on ours, carry that over
|
||||
this.originVis.customEvents.on('paperReady', _.bind(function() {
|
||||
var value = $(this.paper.canvas).css('z-index');
|
||||
this.originVis.setTreeIndex(value);
|
||||
}, this));
|
||||
|
||||
// return the newly created visualization which will soon have a git engine
|
||||
return this.originVis;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue