Merge pull request #6623 from Hinsbart/action_just_completion
Code completion for is_action_just_{pressed, released}
This commit is contained in:
commit
33af4a9746
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue