mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
f5e53ba6f5
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |