summaryrefslogtreecommitdiffstats
path: root/scene/2d/back_buffer_copy.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-03-03 17:57:58 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2023-03-03 17:57:58 +0800
commit602a0d2fbc84d598cffc79eccd5110f650b6e3c9 (patch)
treee53fb4bd28e46f8afc2b3c6853d7a911abd6103e /scene/2d/back_buffer_copy.cpp
parent31eccb5501ddc92b4a17fd6ae33dca4ad217702c (diff)
downloadredot-engine-602a0d2fbc84d598cffc79eccd5110f650b6e3c9.tar.gz
Notify child controls when BackBufferCopy's rect changed
Diffstat (limited to 'scene/2d/back_buffer_copy.cpp')
-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 {