summaryrefslogtreecommitdiff
path: root/scene/gui/panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/panel.cpp')
-rw-r--r--scene/gui/panel.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/scene/gui/panel.cpp b/scene/gui/panel.cpp
index c4b7199c3e..536f0baf73 100644
--- a/scene/gui/panel.cpp
+++ b/scene/gui/panel.cpp
@@ -31,11 +31,11 @@
void Panel::_notification(int p_what) {
- if (p_what==NOTIFICATION_DRAW) {
+ if (p_what == NOTIFICATION_DRAW) {
RID ci = get_canvas_item();
Ref<StyleBox> style = get_stylebox("panel");
- style->draw( ci, Rect2( Point2(), get_size() ) );
+ style->draw(ci, Rect2(Point2(), get_size()));
}
}
@@ -44,9 +44,5 @@ Panel::Panel() {
set_mouse_filter(MOUSE_FILTER_STOP);
}
-
-Panel::~Panel()
-{
+Panel::~Panel() {
}
-
-