diff options
author | Ruslan Mustakov <r.mustakov@gmail.com> | 2018-02-27 22:37:20 +0700 |
---|---|---|
committer | Ruslan Mustakov <r.mustakov@gmail.com> | 2018-04-09 20:34:52 +0700 |
commit | dcf5be92a3aede861909c08d06b114669bbe75e8 (patch) | |
tree | d2ece25a54726772b644dc5d775fb327ebccafb0 /scene/gui/dialogs.h | |
parent | 47676cfa98ffc49a8165b1453bc35a9d261e9c44 (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/dialogs.h')
0 files changed, 0 insertions, 0 deletions