Merge pull request #61532 from KoBeWi/random_bugs_be_like

This commit is contained in:
Rémi Verschelde 2022-05-30 01:55:36 +02:00 committed by GitHub
commit 5dd667905f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,7 @@ void VisibleOnScreenNotifier2D::set_rect(const Rect2 &p_rect) {
if (is_inside_tree()) {
RS::get_singleton()->canvas_item_set_visibility_notifier(get_canvas_item(), true, rect, callable_mp(this, &VisibleOnScreenNotifier2D::_visibility_enter), callable_mp(this, &VisibleOnScreenNotifier2D::_visibility_exit));
}
update();
}
Rect2 VisibleOnScreenNotifier2D::get_rect() const {