Merge pull request #46028 from Beuc/patch-passby
doc: explain TouchScreenButton passby mode
This commit is contained in:
commit
e13312db79
|
@ -30,7 +30,8 @@
|
||||||
The button's texture for the normal state.
|
The button's texture for the normal state.
|
||||||
</member>
|
</member>
|
||||||
<member name="passby_press" type="bool" setter="set_passby_press" getter="is_passby_press_enabled" default="false">
|
<member name="passby_press" type="bool" setter="set_passby_press" getter="is_passby_press_enabled" default="false">
|
||||||
If [code]true[/code], pass-by presses are enabled.
|
If [code]true[/code], the [signal pressed] and [signal released] signals are emitted whenever a pressed finger goes in and out of the button, even if the pressure started outside the active area of the button.
|
||||||
|
[b]Note:[/b] this is a "pass-by" (not "bypass") press mode.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="Texture2D" setter="set_texture_pressed" getter="get_texture_pressed">
|
<member name="pressed" type="Texture2D" setter="set_texture_pressed" getter="get_texture_pressed">
|
||||||
The button's texture for the pressed state.
|
The button's texture for the pressed state.
|
||||||
|
|
Loading…
Reference in New Issue