mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #243 from marynate/PR-fix-touchscreenbutton-released
Fix #240 TouchScreenButton release signal is not valid
This commit is contained in:
commit
1f5457b2ab
@ -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
Block a user