aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_function.cpp
diff options
context:
space:
mode:
authorRuslan Mustakov2018-02-27 22:37:20 +0700
committerHein-Pieter van Braam2018-04-14 19:36:10 +0200
commit710b57d493bcb2ffaad50abe59c1da5b33888aab (patch)
tree2af721b9e1f4ebeb5d7453c54abdcd8514c4262d /modules/gdscript/gdscript_function.cpp
parentef44ed93a7b5d953d51290f118a86f13ff420580 (diff)
downloadgodot-710b57d493bcb2ffaad50abe59c1da5b33888aab.tar.gz
godot-710b57d493bcb2ffaad50abe59c1da5b33888aab.tar.zst
godot-710b57d493bcb2ffaad50abe59c1da5b33888aab.zip
Make BaseButton not emit press when container is scrolled
This fixes the problem described in #13996 in a proper way. This also adds "deadzone" property to ScrollContainer. It can be used on mobile, where taps are not as precise as mouse clicks. Player could slightly move their finger when tapping, in which case we still want the button to be pressed rather than the container to be scrolled. (cherry picked from commit dcf5be92a3aede861909c08d06b114669bbe75e8)
Diffstat (limited to 'modules/gdscript/gdscript_function.cpp')
0 files changed, 0 insertions, 0 deletions