summaryrefslogtreecommitdiff
path: root/scene/gui/shortcut.h
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2018-02-27 22:37:20 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2018-04-09 20:34:52 +0700
commitdcf5be92a3aede861909c08d06b114669bbe75e8 (patch)
treed2ece25a54726772b644dc5d775fb327ebccafb0 /scene/gui/shortcut.h
parent47676cfa98ffc49a8165b1453bc35a9d261e9c44 (diff)
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 'scene/gui/shortcut.h')
0 files changed, 0 insertions, 0 deletions