Skip to content

Commit

Permalink
Ensure Camera2D scroll is updated on transform like 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyboardDanni committed Nov 5, 2023
1 parent da0b1eb commit e21a40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/2d/camera_2d.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e21a40f

Please sign in to comment.