From 4f05190fb08b064b8605ab80cba74aee38e52702 Mon Sep 17 00:00:00 2001 From: Guilherme Felipe Date: Mon, 9 Apr 2018 17:48:24 -0300 Subject: Implement Input.set_default_cursor_shape to change the default shape Closes #18043 --- scene/main/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') 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 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; } -- cgit v1.2.3