Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix action_press() by clamping strength to 0, 1
Changed Input.action_press() treatment of strength parameter to match behavior of InputEventAction and documentation, by clamping between 0 and 1. Fixes Input.get_action_strength() returning values over 1 when large values are passed to Input.action_press().
- Loading branch information