summaryrefslogtreecommitdiff
path: root/scene/gui/panel_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/panel_container.cpp')
-rw-r--r--scene/gui/panel_container.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/panel_container.cpp b/scene/gui/panel_container.cpp
index 74663c33e3..6cf23b8a32 100644
--- a/scene/gui/panel_container.cpp
+++ b/scene/gui/panel_container.cpp
@@ -103,4 +103,6 @@ void PanelContainer::_notification(int p_what) {
}
PanelContainer::PanelContainer() {
+ // Has visible stylebox, so stop by default.
+ set_mouse_filter(MOUSE_FILTER_STOP);
}