Merge pull request #17081 from endragor/no-press-when-scroll
Make Button not emit press when container is scrolled
This commit is contained in:
commit
7e2782e177
5 changed files with 60 additions and 24 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue