From 602a0d2fbc84d598cffc79eccd5110f650b6e3c9 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 3 Mar 2023 17:57:58 +0800 Subject: [PATCH] Notify child controls when BackBufferCopy's rect changed --- scene/2d/back_buffer_copy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/2d/back_buffer_copy.cpp b/scene/2d/back_buffer_copy.cpp index 60b344b0024..4cae1affc36 100644 --- a/scene/2d/back_buffer_copy.cpp +++ b/scene/2d/back_buffer_copy.cpp @@ -62,6 +62,7 @@ Rect2 BackBufferCopy::get_anchorable_rect() const { void BackBufferCopy::set_rect(const Rect2 &p_rect) { rect = p_rect; _update_copy_mode(); + item_rect_changed(); } Rect2 BackBufferCopy::get_rect() const {