From 4676aac33539adb78ed64c4645721dba041a749a Mon Sep 17 00:00:00 2001 From: marynate Date: Wed, 2 Apr 2014 14:47:47 +0800 Subject: Fix #240 TouchScreenButton release signal is not valid --- scene/2d/screen_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/2d') diff --git a/scene/2d/screen_button.cpp b/scene/2d/screen_button.cpp index 871c351479..32a5323419 100644 --- a/scene/2d/screen_button.cpp +++ b/scene/2d/screen_button.cpp @@ -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" ) ); -- cgit v1.2.3