Fix #240 TouchScreenButton release signal is not valid
This commit is contained in:
parent
e20e3c9525
commit
4676aac335
|
@ -26402,7 +26402,7 @@
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="release">
|
<signal name="released">
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
|
|
|
@ -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" ) );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue