Skip to content

Commit

Permalink
Merge pull request #390 from correctexam/388-keyboard-short-cut-issue…
Browse files Browse the repository at this point in the history
…-when-navigating-between-exam-sheets

try to fix keyboard shortcut on mac
  • Loading branch information
barais authored Nov 17, 2023
2 parents 9e6065f + 0a4bf20 commit 1b13ba9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,15 @@ export class AssocierCopiesEtudiantsComponent implements OnInit, AfterViewInit {
this.shortcuts.push(
{
// ArrowRight
key: ['ctrl + right', 'meta + right'],
key: ['ctrl + right', 'cmd + right'],
label: 'Navigation',
description: this.translateService.instant('scanexam.nextstudent'),
command: () => this.nextStudent(),
preventDefault: true,
},
{
// ArrowLeft
key: ['ctrl + left', 'meta + left'],
key: ['ctrl + left', 'cmd + left'],
label: 'Navigation',
description: this.translateService.instant('scanexam.previousstudent'),
command: () => this.previousStudent(),
Expand Down

0 comments on commit 1b13ba9

Please sign in to comment.