summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-04-09 17:48:24 -0300
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-04-10 11:38:34 -0300
commit4f05190fb08b064b8605ab80cba74aee38e52702 (patch)
tree9ac4369738c103f2d022c9824027a9d802d5ad86 /scene
parent48890b15c5b5ff54ea2cf416a9d3157f2d5dee5b (diff)
Implement Input.set_default_cursor_shape to change the default shape
Closes #18043
Diffstat (limited to 'scene')
-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 45a969eeda..568a765420 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1814,7 +1814,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
}
if (!over) {
- OS::get_singleton()->set_cursor_shape(OS::CURSOR_ARROW);
+ OS::get_singleton()->set_cursor_shape((OS::CursorShape)Input::get_singleton()->get_default_cursor_shape());
return;
}