Removed immediate return before update for set_scoll_offset

This commit is contained in:
Marcus Paulsson 2024-09-30 13:54:45 +02:00
parent 76a135926a
commit c5b4d8e61e
1 changed files with 0 additions and 4 deletions

View File

@ -187,10 +187,6 @@ int Parallax2D::get_repeat_times() const {
}
void Parallax2D::set_scroll_offset(const Point2 &p_offset) {
if (p_offset == scroll_offset) {
return;
}
scroll_offset = p_offset;
_update_scroll();