doc: explain TouchScreenButton passby mode

(cherry picked from commit 9e21077fad)
This commit is contained in:
Sylvain Beucler 2021-02-15 11:45:58 +01:00 committed by Rémi Verschelde
parent e40682c32d
commit dc1264af0a
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -30,7 +30,8 @@
The button's texture for the normal state.
</member>
<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 name="pressed" type="Texture" setter="set_texture_pressed" getter="get_texture_pressed">
The button's texture for the pressed state.