mirror of https://github.com/godotengine/godot
Fix regression with cursor shape
This commit is contained in:
parent
efdd0c4b89
commit
aa53c032ed
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue