Merge pull request #55417 from ekumlin/issue-54856
This commit is contained in:
commit
cae5615a22
|
@ -176,7 +176,7 @@ Transform2D Camera2D::get_camera_transform() {
|
|||
|
||||
Rect2 screen_rect(-screen_offset + ret_camera_pos, screen_size * zoom);
|
||||
|
||||
if (!limit_smoothing_enabled) {
|
||||
if (!smoothing_enabled || !limit_smoothing_enabled) {
|
||||
if (screen_rect.position.x < limit[SIDE_LEFT]) {
|
||||
screen_rect.position.x = limit[SIDE_LEFT];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue