-
Make BaseButton not emit press when container is scrolled · dcf5be92Ruslan Mustakov authored
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.
dcf5be92
×