aboutsummaryrefslogtreecommitdiff
path: root/modules/visual_script/visual_script_expression.cpp
diff options
context:
space:
mode:
authorRuslan Mustakov2018-02-27 22:37:20 +0700
committerRuslan Mustakov2018-04-09 20:34:52 +0700
commitdcf5be92a3aede861909c08d06b114669bbe75e8 (patch)
treed2ece25a54726772b644dc5d775fb327ebccafb0 /modules/visual_script/visual_script_expression.cpp
parent47676cfa98ffc49a8165b1453bc35a9d261e9c44 (diff)
downloadgodot-dcf5be92a3aede861909c08d06b114669bbe75e8.tar.gz
godot-dcf5be92a3aede861909c08d06b114669bbe75e8.tar.zst
godot-dcf5be92a3aede861909c08d06b114669bbe75e8.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.
Diffstat (limited to 'modules/visual_script/visual_script_expression.cpp')
0 files changed, 0 insertions, 0 deletions