We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.4.0
Input with a pen tablet in examples/input/touch_input_event.rs
It works.
It paniced if the value of "force" is None.
Ad hoc : crates/bevy_input/src/touch.rs#L190
fn process_touch_event(&mut self, event: &TouchInput) { if event.force.is_none() { return; } ... }
The text was updated successfully, but these errors were encountered:
👋
Would you have the line where it panicked? With a quick read of the code, I didn't find where that could happen
Sorry, something went wrong.
I should have written it here, sorry.
thread 'Compute Task Pool (3)' panicked at 'called `Option::unwrap()` on a `None` value', crates\bevy_input\src\touch.rs:197:74
It panicked when the pen is in midair.
e9a501e
Successfully merging a pull request may close this issue.
Bevy version
0.4.0
What you did
Input with a pen tablet in examples/input/touch_input_event.rs
What you expected to happen
It works.
What actually happened
It paniced if the value of "force" is None.
Additional information
Ad hoc : crates/bevy_input/src/touch.rs#L190
The text was updated successfully, but these errors were encountered: