Ensure Camera2D scroll is updated on transform like 3.x

(cherry picked from commit 734166f796)
This commit is contained in:
Danni 2023-11-05 14:31:57 -05:00 committed by Rémi Verschelde
parent d19d2ca307
commit 138b3ded67
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ void Camera2D::_notification(int p_what) {
} break;
case NOTIFICATION_TRANSFORM_CHANGED: {
if (!is_processing_internal() && !is_physics_processing_internal()) {
if (!position_smoothing_enabled || _is_editing_in_editor()) {
_update_scroll();
}
} break;