Merge pull request #17081 from endragor/no-press-when-scroll

Make Button not emit press when container is scrolled
This commit is contained in:
Rémi Verschelde
2018-04-10 07:56:37 +02:00
committed by GitHub
5 changed files with 60 additions and 24 deletions

View File

@@ -2888,6 +2888,8 @@ void Control::_bind_methods() {
BIND_CONSTANT(NOTIFICATION_FOCUS_EXIT);
BIND_CONSTANT(NOTIFICATION_THEME_CHANGED);
BIND_CONSTANT(NOTIFICATION_MODAL_CLOSE);
BIND_CONSTANT(NOTIFICATION_SCROLL_BEGIN);
BIND_CONSTANT(NOTIFICATION_SCROLL_END);
BIND_ENUM_CONSTANT(CURSOR_ARROW);
BIND_ENUM_CONSTANT(CURSOR_IBEAM);