Skip to content

Commit

Permalink
fix: change shortcut for moving cols due to chrome conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
stormojm committed Jun 3, 2019
1 parent f7723e1 commit 3cc3570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/core/directives/ui-grid-header-cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@
$scope.handleKeyDown = function(event) {
if (event.key === 'Enter' || event.key === ' ') {
applySort(event.shiftKey);
} else if (event.altKey && event.key === "ArrowLeft") {
} else if (event.altKey && event.shiftKey && event.key === "ArrowLeft") {
applyMoveColumn(false);
} else if (event.altKey && event.key === "ArrowRight") {
} else if (event.altKey && event.shiftKey && event.key === "ArrowRight") {
applyMoveColumn(true);
}
};
Expand Down

0 comments on commit 3cc3570

Please sign in to comment.