From 8e3ac50f81147d1d1c4a995edec73455bbb4b0ff Mon Sep 17 00:00:00 2001 From: juliandescottes Date: Tue, 16 Aug 2016 01:04:55 +0200 Subject: [PATCH] Issue #290: cleanup unused code in SelectionManager --- src/js/selection/SelectionManager.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/js/selection/SelectionManager.js b/src/js/selection/SelectionManager.js index 3e10ec72..63696e12 100644 --- a/src/js/selection/SelectionManager.js +++ b/src/js/selection/SelectionManager.js @@ -166,10 +166,6 @@ ns.SelectionManager.prototype.onSelectionMoved_ = function(evt, colDiff, rowDiff) { if (this.currentSelection) { this.currentSelection.move(colDiff, rowDiff); - if (evt.shiftKey) { - this.cut(); - this.paste(); - } } else { console.error('Bad state: No currentSelection set when trying to move it in SelectionManager'); }