diff options
author | reduz <reduzio@gmail.com> | 2014-04-05 09:24:28 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2014-04-05 09:24:28 -0300 |
commit | 1f5457b2abf673939c5b69c0d75548b0fc30d5e5 (patch) | |
tree | 517c6017bfce1235ab6558ed7442fa1972109ae8 /scene/2d | |
parent | 64671eb6fbed7df22af47dbf3cbbab427c2e00ab (diff) | |
parent | 4676aac33539adb78ed64c4645721dba041a749a (diff) |
Merge pull request #243 from marynate/PR-fix-touchscreenbutton-released
Fix #240 TouchScreenButton release signal is not valid
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/screen_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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" ) ); |