Notify child controls when BackBufferCopy's rect changed

This commit is contained in:
Haoyu Qiu 2023-03-03 17:57:58 +08:00
parent 31eccb5501
commit 602a0d2fbc

View file

@ -62,6 +62,7 @@ Rect2 BackBufferCopy::get_anchorable_rect() const {
void BackBufferCopy::set_rect(const Rect2 &p_rect) { void BackBufferCopy::set_rect(const Rect2 &p_rect) {
rect = p_rect; rect = p_rect;
_update_copy_mode(); _update_copy_mode();
item_rect_changed();
} }
Rect2 BackBufferCopy::get_rect() const { Rect2 BackBufferCopy::get_rect() const {