summaryrefslogtreecommitdiff
path: root/scene/gui/subviewport_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/subviewport_container.h')
-rw-r--r--scene/gui/subviewport_container.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/subviewport_container.h b/scene/gui/subviewport_container.h
index 91fc29d377..77cf4c16b3 100644
--- a/scene/gui/subviewport_container.h
+++ b/scene/gui/subviewport_container.h
@@ -36,8 +36,8 @@
class SubViewportContainer : public Container {
GDCLASS(SubViewportContainer, Container);
- bool stretch;
- int shrink;
+ bool stretch = false;
+ int shrink = 1;
protected:
void _notification(int p_what);