parent
15062513c0
commit
7257bb6ad0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue