Merge pull request #75997 from hakro/update-cursor-when-panning

Change cursor consistently when panning in the 2D Editor
This commit is contained in:
Rémi Verschelde 2023-04-13 09:55:53 +02:00
commit 4cfa718579
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -1240,6 +1240,7 @@ bool CanvasItemEditor::_gui_input_zoom_or_pan(const Ref<InputEvent> &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) {