[Solved] event.accepted stops JavaScript from processing the next line
-
I'm using the Keys.onPressed signal to process different key events. I read that once an event is processed you should set the event.accepted to true. When I do that nothing after that line of JavaScript gets processed. I even tried just logging the value of event.accepted and a similar thing happened. It printed out the value stored in event.accepted but stopped processing the JavaScript. I'm not sure if this is what is suppose to happen or if there is another way to stop the event from propagating. Please let me know if this is a bug or If i'm doing something wrong.
Thanks,
Tom