Merge pull request #19426 from guilhermefelipecgs/fix_cursor_regression

Fix regression with cursor shape
This commit is contained in:
Rémi Verschelde 2018-06-07 21:24:00 +02:00 committed by GitHub
commit 3d5aabe7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1917,7 +1917,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
Control *c = over;
Vector2 cpos = pos;
while (c) {
cursor_shape = c->get_cursor_shape();
cursor_shape = c->get_cursor_shape(cpos);
cpos = c->get_transform().xform(cpos);
if (cursor_shape != Control::CURSOR_ARROW)
break;