Merge pull request #6623 from Hinsbart/action_just_completion

Code completion for is_action_just_{pressed, released}
This commit is contained in:
Rémi Verschelde 2016-09-27 09:23:02 +02:00 committed by GitHub
commit 33af4a9746

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