diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-06-07 15:12:59 -0300 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-06-07 15:12:59 -0300 |
commit | aa53c032ed67bb5c1de0c72d7c0707e4fb6da35a (patch) | |
tree | c6aba4c7dea9350d2c9ed2a9a159c4bdeed0d3b8 | |
parent | efdd0c4b894a4329469e3c8456b0440e7398c5d8 (diff) |
Fix regression with cursor shape
-rw-r--r-- | scene/main/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index fa2f87a130..1236aea2dd 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -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; |