diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-04-10 17:15:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-10 17:15:11 +0200 |
| commit | cc5acaf2d58d0aaa2a9b49255ada24ba28d1ca17 (patch) | |
| tree | 9ac4369738c103f2d022c9824027a9d802d5ad86 /scene | |
| parent | 48890b15c5b5ff54ea2cf416a9d3157f2d5dee5b (diff) | |
| parent | 4f05190fb08b064b8605ab80cba74aee38e52702 (diff) | |
Merge pull request #18093 from guilhermefelipecgs/set_default_cursor_shape
Implement Input.set_default_cursor_shape to change the default shape
Diffstat (limited to 'scene')
| -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 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; } |