|
|
@ -940,10 +940,11 @@ Network.prototype._createKeyBinds = function() { |
|
|
|
this.keycharm.bind("pagedown",this._zoomOut.bind(me),"keydown"); |
|
|
|
this.keycharm.bind("pagedown",this._stopZoom.bind(me), "keyup"); |
|
|
|
} |
|
|
|
this.keycharm.bind("1",this.increaseClusterLevel.bind(me), "keydown"); |
|
|
|
this.keycharm.bind("2",this.decreaseClusterLevel.bind(me), "keydown"); |
|
|
|
this.keycharm.bind("3",this.forceAggregateHubs.bind(me,true),"keydown"); |
|
|
|
this.keycharm.bind("4",this.normalizeClusterLevels.bind(me), "keydown"); |
|
|
|
//this.keycharm.bind("1",this.increaseClusterLevel.bind(me), "keydown");
|
|
|
|
//this.keycharm.bind("2",this.decreaseClusterLevel.bind(me), "keydown");
|
|
|
|
//this.keycharm.bind("3",this.forceAggregateHubs.bind(me,true),"keydown");
|
|
|
|
//this.keycharm.bind("4",this.normalizeClusterLevels.bind(me), "keydown");
|
|
|
|
|
|
|
|
if (this.constants.dataManipulation.enabled == true) { |
|
|
|
this.keycharm.bind("esc",this._createManipulatorBar.bind(me)); |
|
|
|
this.keycharm.bind("delete",this._deleteSelected.bind(me)); |
|
|
|