Skip to content

Commit

Permalink
tutorial: Use shift+enter to go back on tutorial steps
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Feb 6, 2025
1 parent fcbe23c commit cfa27de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Tutorial.vue
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ const setVehicleConnectedVisible = (): void => {
}
const handleKeydown = (event: KeyboardEvent): void => {
if (event.key === 'Enter' && showTutorial.value) {
if (event.shiftKey && event.key === 'Enter' && showTutorial.value) {
backTutorialStep()
} else if (event.key === 'Enter' && showTutorial.value) {
nextTutorialStep()
}
}
Expand Down

0 comments on commit cfa27de

Please sign in to comment.