diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-09-27 09:23:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 09:23:02 +0200 |
commit | 33af4a9746fb1feec4c88f4fe04c4e29317f2243 (patch) | |
tree | a79b1bd2c4e9f6f17bcbf616047d74b1a2f78e79 /core | |
parent | 73a7b91459fc18013e51e8c4dfbcc7a309d6b1e2 (diff) | |
parent | 5e7db2a5b47a66337517b01e5d43ac87a0ac70b3 (diff) |
Merge pull request #6623 from Hinsbart/action_just_completion
Code completion for is_action_just_{pressed, released}
Diffstat (limited to 'core')
-rw-r--r-- | core/os/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp index 88c17740b1..4ab57a84ea 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -94,7 +94,7 @@ void Input::get_argument_options(const StringName& p_function,int p_idx,List<Str #ifdef TOOLS_ENABLED String pf=p_function; - if (p_idx==0 && (pf=="is_action_pressed" || pf=="action_press" || pf=="action_release")) { + if (p_idx==0 && (pf=="is_action_pressed" || pf=="action_press" || pf=="action_release" || pf=="is_action_just_pressed" || pf=="is_action_just_released")) { List<PropertyInfo> pinfo; Globals::get_singleton()->get_property_list(&pinfo); |