From faf28642d2e76e6a63a463b9e9f9fc81b3a9691d Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Fri, 6 Feb 2015 18:02:39 +0100 Subject: [PATCH] disabled cluster debug keystrokes --- lib/network/Network.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/network/Network.js b/lib/network/Network.js index 8386c1d2..ead6891b 100644 --- a/lib/network/Network.js +++ b/lib/network/Network.js @@ -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));