Commit 18fdbb50 authored by Jean-Clement Gallardo's avatar Jean-Clement Gallardo
Browse files

Finish hotfix/MoveGraph

parents 9c262180 d07654bc
......@@ -14,6 +14,26 @@ Ext.define('metExploreViz.view.panel.comparisonSidePanel.ComparisonSidePanelCont
newMapping : me.drawCaption,
scope:me
});
view.on({
expand : function(){
var viz = Ext.getCmp('viz');
if(viz.lookupReference('handcursor').hasCls('focus')){
metExploreD3.GraphNetwork.moveGraph();
metExploreD3.GraphNetwork.moveGraph();
}
}
});
view.on({
collapse : function(){
var viz = Ext.getCmp('viz');
if(viz.lookupReference('handcursor').hasCls('focus')){
metExploreD3.GraphNetwork.moveGraph();
metExploreD3.GraphNetwork.moveGraph();
}
}
});
},
drawCaption : function(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment