Closed ptchccnt2015 closed 5 years ago
adding this condition to catch if the currentKeyIndex is greater than or equal to 0 so that the logic inside won't execute
scenario: My list has
so my keys are ['s', 'a', 'm', 'z']
but when I press other keys that isn't in the list the logic still executes and selected the index 1 or the 2nd item in the list
and when I added currentKeyIndex >= 0 in line 356 the logic only runs when I press 's', 'a', 'm' or 'z'
I hope this will be approved or you could give me some workaround
thanks
adding this condition to catch if the currentKeyIndex is greater than or equal to 0 so that the logic inside won't execute
scenario: My list has
so my keys are ['s', 'a', 'm', 'z']
but when I press other keys that isn't in the list the logic still executes and selected the index 1 or the 2nd item in the list
and when I added currentKeyIndex >= 0 in line 356 the logic only runs when I press 's', 'a', 'm' or 'z'
I hope this will be approved or you could give me some workaround
thanks