mirror of
https://github.com/godotengine/godot.git
synced 2026-04-28 22:22:03 +00:00
Fixes the bad calculation of margin & anchors when child of Node2D
This commit is contained in:
@@ -59,6 +59,11 @@ bool BackBufferCopy::_edit_use_rect() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
Rect2 BackBufferCopy::get_anchorable_rect() const {
|
||||
|
||||
return rect;
|
||||
}
|
||||
|
||||
void BackBufferCopy::set_rect(const Rect2 &p_rect) {
|
||||
|
||||
rect = p_rect;
|
||||
|
||||
Reference in New Issue
Block a user