From aa53c032ed67bb5c1de0c72d7c0707e4fb6da35a Mon Sep 17 00:00:00 2001 From: Guilherme Felipe Date: Thu, 7 Jun 2018 15:12:59 -0300 Subject: [PATCH] Fix regression with cursor shape --- scene/main/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index fa2f87a1308..1236aea2dd0 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1917,7 +1917,7 @@ void Viewport::_gui_input_event(Ref 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;