mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Ensure Camera2D scroll is updated on transform like 3.x
(cherry picked from commit 734166f796)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user