Skip to content

Conversation

@FaintLocket424
Copy link

The function event_is_action_pressed() within the Windows focus handling section was using the same code from the above function input_is_action_pressed and was not using the event parameter which is was made for.

The function is designed to replace event.is_action_pressed() to handle a defocused window and controller inputs.

I believe this is a simple typo.

…us section since it was not using the event parameter.
@AThousandShips AThousandShips added bug area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Sep 18, 2023
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct both functionally and in line with the description

Copy link
Contributor

@Sauermann Sauermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using event is more appropriate here.

@mhilbrunner
Copy link
Member

Merged, thanks and congrats on your first merged contribution to Godot's docs! 🎉

@mhilbrunner
Copy link
Member

Cherry-picked to 4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation bug cherrypick:4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants