Fixes the bad calculation of margin & anchors when child of Node2D

This commit is contained in:
groud
2018-05-05 16:59:00 +02:00
parent efdd0c4b89
commit 4d78e16bc1
17 changed files with 160 additions and 199 deletions

View File

@@ -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;