summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-06-07 21:24:00 +0200
committerGitHub <noreply@github.com>2018-06-07 21:24:00 +0200
commit3d5aabe7fcaa46fe36afe3c418756710d6a97363 (patch)
tree6258e6ce192b799a5ca07bcf63efc9132d9344df /scene/main/viewport.cpp
parent807dd4997cd5c6c92f98bf08363eeff4b31ea138 (diff)
parentaa53c032ed67bb5c1de0c72d7c0707e4fb6da35a (diff)
Merge pull request #19426 from guilhermefelipecgs/fix_cursor_regression
Fix regression with cursor shape
Diffstat (limited to 'scene/main/viewport.cpp')
-rw-r--r--scene/main/viewport.cpp2
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;