summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-03-03 17:57:58 +0800
committerYuri Sizov <yuris@humnom.net>2023-03-13 21:57:20 +0100
commit050ec70ea409950e5f86ccf51373592b768b12ca (patch)
tree08bc86f5555737fcd4fe7a9e4991678bda669594 /scene/2d
parent20eeb7c66d3d8b1cb378eed72c93519a451ce450 (diff)
Notify child controls when BackBufferCopy's rect changed
(cherry picked from commit 602a0d2fbc84d598cffc79eccd5110f650b6e3c9)
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/back_buffer_copy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/back_buffer_copy.cpp b/scene/2d/back_buffer_copy.cpp
index 60b344b002..4cae1affc3 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 {