Merge pull request #243 from marynate/PR-fix-touchscreenbutton-released

Fix #240 TouchScreenButton release signal is not valid
This commit is contained in:
reduz 2014-04-05 09:24:28 -03:00
commit 1f5457b2ab
2 changed files with 2 additions and 2 deletions

View File

@ -26402,7 +26402,7 @@
<description>
</description>
</signal>
<signal name="release">
<signal name="released">
<description>
</description>
</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_SIGNAL( MethodInfo("pressed" ) );
ADD_SIGNAL( MethodInfo("release" ) );
ADD_SIGNAL( MethodInfo("released" ) );