Skip to content

Commit

Permalink
Merge pull request #293 from klavinslab/techCntrlPatch
Browse files Browse the repository at this point in the history
remove arrow key control of tech interface
  • Loading branch information
klavins authored Jun 8, 2018
2 parents bcc46a5 + ed0a1d0 commit 78689e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/assets/javascripts/ng-control/technician.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,12 @@

switch(evt.key) {

case "ArrowLeft":
case "ArrowUp":
case "PageUp":
if ( $scope.job.state.index > 0 ) {
$scope.job.state.index--;
}
break;
case "ArrowRight":
case "ArrowDown":
case "PageDown":
if ( $scope.job.state.index < $scope.job.backtrace.length - 1 ) {
$scope.job.state.index++;
} else {
Expand Down

0 comments on commit 78689e1

Please sign in to comment.