diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-03-03 17:57:58 +0800 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-13 21:57:20 +0100 |
commit | 050ec70ea409950e5f86ccf51373592b768b12ca (patch) | |
tree | 08bc86f5555737fcd4fe7a9e4991678bda669594 /scene | |
parent | 20eeb7c66d3d8b1cb378eed72c93519a451ce450 (diff) |
Notify child controls when BackBufferCopy's rect changed
(cherry picked from commit 602a0d2fbc84d598cffc79eccd5110f650b6e3c9)
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/back_buffer_copy.cpp | 1 |
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 { |