summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-03-10 09:43:06 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-03-10 09:43:06 +0100
commit40c08e522f7084afffbd2c4451146e7b5af69d30 (patch)
tree670e94c4781ac0e3ea7294b979ccde8202b27dc0 /scene/main/viewport.cpp
parent450ebaab9f333ca463e6e57a29fdc2e47c227c36 (diff)
Revert "Update mouse cursor shape after changes"
This reverts commit 0fce98b4b5f568298477b175c70510924793f6b0.
Diffstat (limited to 'scene/main/viewport.cpp')
-rw-r--r--scene/main/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 0082e7b061..de6aa2b139 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1551,7 +1551,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
gui.drag_preview_id = ObjectID();
}
_propagate_viewport_notification(this, NOTIFICATION_DRAG_END);
- get_base_window()->update_mouse_cursor_shape();
+ // Change mouse accordingly.
}
_gui_cancel_tooltip();
@@ -1572,7 +1572,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
gui.dragging = false;
gui.drag_mouse_over = nullptr;
_propagate_viewport_notification(this, NOTIFICATION_DRAG_END);
- get_base_window()->update_mouse_cursor_shape();
+ // Change mouse accordingly.
}
gui.mouse_focus_mask &= ~mouse_button_to_mask(mb->get_button_index()); // Remove from mask.