diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-03-03 17:57:58 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-03-03 17:57:58 +0800 |
commit | 602a0d2fbc84d598cffc79eccd5110f650b6e3c9 (patch) | |
tree | e53fb4bd28e46f8afc2b3c6853d7a911abd6103e /scene/2d/back_buffer_copy.cpp | |
parent | 31eccb5501ddc92b4a17fd6ae33dca4ad217702c (diff) | |
download | redot-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.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 { |