Fix #240 TouchScreenButton release signal is not valid

This commit is contained in:
marynate 2014-04-02 14:47:47 +08:00
parent e20e3c9525
commit 4676aac335
2 changed files with 2 additions and 2 deletions

View File

@ -26402,7 +26402,7 @@
<description> <description>
</description> </description>
</signal> </signal>
<signal name="release"> <signal name="released">
<description> <description>
</description> </description>
</signal> </signal>

View File

@ -357,7 +357,7 @@ void TouchScreenButton::_bind_methods() {
ADD_PROPERTY( PropertyInfo(Variant::INT,"visibility_mode",PROPERTY_HINT_ENUM,"Always,TouchScreen Only"),_SCS("set_visibility_mode"),_SCS("get_visibility_mode")); ADD_PROPERTY( PropertyInfo(Variant::INT,"visibility_mode",PROPERTY_HINT_ENUM,"Always,TouchScreen Only"),_SCS("set_visibility_mode"),_SCS("get_visibility_mode"));
ADD_SIGNAL( MethodInfo("pressed" ) ); ADD_SIGNAL( MethodInfo("pressed" ) );
ADD_SIGNAL( MethodInfo("release" ) ); ADD_SIGNAL( MethodInfo("released" ) );