1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #74282 from timothyqiu/news-anchor

Notify child controls when `BackBufferCopy`'s rect changed
This commit is contained in:
Rémi Verschelde
2023-03-05 13:26:45 +01:00

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 {