Change cursor consistently when panning in the 2D Editor
(cherry picked from commit f4edbe6341
)
This commit is contained in:
parent
ad5d7c2030
commit
756d809ef1
@ -1239,6 +1239,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
Block a user