diff options
author | Fredia Huya-Kouadio <fhuya@meta.com> | 2022-10-22 07:30:46 -0700 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuya@meta.com> | 2022-10-22 07:30:46 -0700 |
commit | 13e4770b97d0e6343556676dddb1b97d09d8bbdf (patch) | |
tree | fdc45faed424d118c3655e88726fa7c4f4f83505 /doc/classes | |
parent | 276ab5be07752582b4341c33fb8f53a7887af87a (diff) |
Add double_tap attribute to InputEventScreenTouch
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/InputEventScreenTouch.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/InputEventScreenTouch.xml b/doc/classes/InputEventScreenTouch.xml index fb50454917..346b6bf732 100644 --- a/doc/classes/InputEventScreenTouch.xml +++ b/doc/classes/InputEventScreenTouch.xml @@ -11,6 +11,9 @@ <link title="InputEvent">$DOCS_URL/tutorials/inputs/inputevent.html</link> </tutorials> <members> + <member name="double_tap" type="bool" setter="set_double_tap" getter="is_double_tap" default="false"> + If [code]true[/code], the touch's state is a double tap. + </member> <member name="index" type="int" setter="set_index" getter="get_index" default="0"> The touch index in the case of a multi-touch event. One index = one finger. </member> |