codetour icon indicating copy to clipboard operation
codetour copied to clipboard

Tour going to non existing steps with CTRL+{arrow}

Open JonatasAmaral opened this issue 2 years ago • 1 comments

Using CTRL + ← / CTRL + → to navigate, can make Codetour go to 'out of boundaries" steps, like -1

after the last: image

before the first: image

JonatasAmaral avatar Mar 25 '22 12:03 JonatasAmaral

Hey! Thanks for reporting this. Yeah the next/previous links have safe guards to prevent this, but the keyboard shortcut doesn't check if there's a step before trying to navigate the tour. I'll add this logic in the next extension release 👍

lostintangent avatar Mar 30 '22 15:03 lostintangent