From f4edbe634182916fd785b0897b8f309a5b9cc5ae Mon Sep 17 00:00:00 2001 From: Hakim Date: Wed, 12 Apr 2023 19:47:43 +0200 Subject: [PATCH] Change cursor consistently when panning in the 2D Editor --- editor/plugins/canvas_item_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 592f42c5b80..e8cb89aa966 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -1240,6 +1240,7 @@ bool CanvasItemEditor::_gui_input_zoom_or_pan(const Ref &p_event, bo bool panner_active = panner->gui_input(p_event, warped_panning ? viewport->get_global_rect() : Rect2()); if (panner->is_panning() != pan_pressed) { pan_pressed = panner->is_panning(); + _update_cursor(); } if (panner_active) {