Change cursor consistently when panning in the 2D Editor
This commit is contained in:
parent
d4dad2b2f8
commit
f4edbe6341
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue