Skip to content

Commit

Permalink
Components: Tutorial: Disable conflicting keypress listening
Browse files Browse the repository at this point in the history
Signed-off-by: Arturo Manzoli <[email protected]>
  • Loading branch information
ArturoManzoli authored and rafaellehmkuhl committed Nov 28, 2024
1 parent f25c4dd commit 57f7dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tutorial.vue
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ const setVehicleConnectedVisible = (): void => {
}
const handleKeydown = (event: KeyboardEvent): void => {
if (event.key === 'Enter') {
if (event.key === 'Enter' && showTutorial.value) {
if (currentTutorialStep.value !== 5) {
nextTutorialStep()
return
Expand Down

0 comments on commit 57f7dd8

Please sign in to comment.