Change cursor consistently when panning in the 2D Editor

This commit is contained in:
Hakim 2023-04-12 19:47:43 +02:00
parent d4dad2b2f8
commit f4edbe6341
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) {