summaryrefslogtreecommitdiff
path: root/scene/gui/center_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/center_container.cpp')
-rw-r--r--scene/gui/center_container.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/gui/center_container.cpp b/scene/gui/center_container.cpp
index f2d1dee0fc..909516e7ef 100644
--- a/scene/gui/center_container.cpp
+++ b/scene/gui/center_container.cpp
@@ -95,6 +95,4 @@ void CenterContainer::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_top_left"), "set_use_top_left", "is_using_top_left");
}
-CenterContainer::CenterContainer() {
- use_top_left = false;
-}
+CenterContainer::CenterContainer() {}