Skip to content
New issue

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

Fix Input.action_press() accepting out-of-bounds strength values #89946

Merged
merged 1 commit into from
Mar 28, 2024

Commits on Mar 27, 2024

  1. 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().
    wlsnmrk committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    41e70db View commit details
    Browse the repository at this point in the history