Code completion for is_action_just_{pressed, released}

fixes #6621
This commit is contained in:
Andreas Haas 2016-09-26 22:16:27 +02:00
parent 73a7b91459
commit 5e7db2a5b4
No known key found for this signature in database
GPG Key ID: B5FFAE1B65FBD2E1
1 changed files with 1 additions and 1 deletions

View File

@ -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);