mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Fixed Camera2D's reset_smoothing() does not work as described
This commit is contained in:
parent
77ca5e7b21
commit
22eaec6895
@ -483,8 +483,8 @@ void Camera2D::force_update_scroll() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Camera2D::reset_smoothing() {
|
void Camera2D::reset_smoothing() {
|
||||||
smoothed_camera_pos = camera_pos;
|
|
||||||
_update_scroll();
|
_update_scroll();
|
||||||
|
smoothed_camera_pos = camera_pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Camera2D::align() {
|
void Camera2D::align() {
|
||||||
|
Loading…
Reference in New Issue
Block a user