diff options
author | marynate <mary.w.nate@gmail.com> | 2014-04-02 14:47:47 +0800 |
---|---|---|
committer | marynate <mary.w.nate@gmail.com> | 2014-04-02 15:48:02 +0800 |
commit | 4676aac33539adb78ed64c4645721dba041a749a (patch) | |
tree | db8a7a4c01094c7441639a66fea6564482ef8ec8 /scene/2d | |
parent | e20e3c9525c2f0d5bb95e85138a8d88a0088d439 (diff) |
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" ) ); |