diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-03-10 09:43:06 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-03-10 09:43:06 +0100 |
commit | 40c08e522f7084afffbd2c4451146e7b5af69d30 (patch) | |
tree | 670e94c4781ac0e3ea7294b979ccde8202b27dc0 /scene/gui | |
parent | 450ebaab9f333ca463e6e57a29fdc2e47c227c36 (diff) |
Revert "Update mouse cursor shape after changes"
This reverts commit 0fce98b4b5f568298477b175c70510924793f6b0.
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/control.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 2866a5ad6c..d8659b1f18 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -2663,11 +2663,6 @@ void Control::set_default_cursor_shape(CursorShape p_shape) { ERR_FAIL_INDEX(int(p_shape), CURSOR_MAX); data.default_cursor = p_shape; - - if (!is_inside_tree()) { - return; - } - get_viewport()->get_base_window()->update_mouse_cursor_shape(); } Control::CursorShape Control::get_default_cursor_shape() const { |