bevy/crates/bevy_input
KDecay f5e53ba6f5 Only insert or remove input if needed (#4273)
# Objective

We are currently inserting an `input` into `pressed` even if it is already pressed. This also applies to releasing an input. This is not a big deal, but since we are already checking if the `input` is pressed or not we might as well remove the cost of the value update caused by the `pressed.insert` method.

Related to #4209

## Solution

Only insert or remove input if needed.
2022-03-29 22:39:16 +00:00
..
src Only insert or remove input if needed (#4273) 2022-03-29 22:39:16 +00:00
Cargo.toml Bump Bevy to 0.7.0-dev (#4230) 2022-03-19 03:54:15 +00:00