From 756d809ef18224c4ade3d49bfb8120794533f049 Mon Sep 17 00:00:00 2001 From: Hakim Date: Wed, 12 Apr 2023 19:47:43 +0200 Subject: Change cursor consistently when panning in the 2D Editor (cherry picked from commit f4edbe634182916fd785b0897b8f309a5b9cc5ae) --- 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 4814b9ae3b..9522ab6e7e 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -1239,6 +1239,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) { -- cgit v1.2.3