From f8db8a3faa30b71dca33ced38be16d3f93f43e8a Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 19 Mar 2017 00:36:26 +0100 Subject: Bring that Whole New World to the Old Continent too Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261. --- scene/gui/panel.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'scene/gui/panel.cpp') diff --git a/scene/gui/panel.cpp b/scene/gui/panel.cpp index 68d01ccb6..5f6c4b8ec 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 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_stop_mouse(true); } - -Panel::~Panel() -{ +Panel::~Panel() { } - - -- cgit v1.2.3-70-g09d2