summaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2016-10-17 03:57:32 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2016-10-19 17:52:49 +0200
commit17d7e6a142500a80ba6628a32eca792c44bbbdb7 (patch)
treec10e5dd3c04c1db13a86bb800072b9a6aee39b44 /doc/base/classes.xml
parentc23e8797f1bec30defd1903cfeef0992cb1f1a89 (diff)
Fix Keyboard Input Hangs when using modifiers
Main input parsing loop only update actions for keyboard if the state has changed. `InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed. Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs. Fixes #6388.
Diffstat (limited to 'doc/base/classes.xml')
-rw-r--r--doc/base/classes.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 4e0ba53f48..a711f591c6 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -18019,7 +18019,7 @@
<argument index="1" name="action" type="String">
</argument>
<description>
- Return whether the given event is part of an existing action.
+ Return whether the given event is part of an existing action. This method ignores keyboard modifiers if the given [InputEvent] is not pressed (for proper release detection). See [method action_has_event] if you don't want this behavior.
</description>
</method>
<method name="get_action_from_id" qualifiers="const">