Issue #290: cleanup unused code in SelectionManager

This commit is contained in:
juliandescottes 2016-08-16 01:04:55 +02:00
parent f4cbabe2ce
commit 8e3ac50f81

View File

@ -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');
}