diff options
| author | Juan Linietsky | 2017-06-12 16:18:17 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-06-12 16:19:12 -0300 |
| commit | 42b2d52c8857fdca52029b66a73be0aa951aafe9 (patch) | |
| tree | f8dc71c9ca3361a8f45d19bbfebb33895f03a5c8 /scene/gui/control.cpp | |
| parent | 5f1603ca456dbf7521613a67798153c787149bfe (diff) | |
| download | godot-42b2d52c8857fdca52029b66a73be0aa951aafe9.tar.gz godot-42b2d52c8857fdca52029b66a73be0aa951aafe9.tar.zst godot-42b2d52c8857fdca52029b66a73be0aa951aafe9.zip | |
Diffstat (limited to 'scene/gui/control.cpp')
| -rw-r--r-- | scene/gui/control.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index ae30acf52..45485b768 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -1184,6 +1184,7 @@ Size2 Control::get_parent_area_size() const { parent_size = get_viewport()->get_visible_rect().size; } + return parent_size; } |
