From 6a5f53ed6a24d1cc88a2bf68f00304b44702efe0 Mon Sep 17 00:00:00 2001 From: Dmitry Ivakhnenko Date: Tue, 22 Nov 2022 15:11:29 +0300 Subject: [PATCH] fix code style --- javascript/sources/Layout.hh | 1 - javascript/sources/Node.cc | 6 +++--- javascript/sources/Node.hh | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/javascript/sources/Layout.hh b/javascript/sources/Layout.hh index 1459fbe3..72380afe 100644 --- a/javascript/sources/Layout.hh +++ b/javascript/sources/Layout.hh @@ -17,4 +17,3 @@ struct Layout { double width; double height; }; - diff --git a/javascript/sources/Node.cc b/javascript/sources/Node.cc index fa6fc69f..7c71091a 100644 --- a/javascript/sources/Node.cc +++ b/javascript/sources/Node.cc @@ -242,7 +242,7 @@ int Node::getPositionType(void) const { Value Node::getPosition(int edge) const { return Value::fromYGValue( - YGNodeStyleGetPosition(m_node, static_cast(edge))); + YGNodeStyleGetPosition(m_node, static_cast(edge))); } int Node::getAlignContent(void) const { @@ -271,7 +271,7 @@ int Node::getJustifyContent(void) const { Value Node::getMargin(int edge) const { return Value::fromYGValue( - YGNodeStyleGetMargin(m_node, static_cast(edge))); + YGNodeStyleGetMargin(m_node, static_cast(edge))); } int Node::getOverflow(void) const { @@ -328,7 +328,7 @@ double Node::getBorder(int edge) const { Value Node::getPadding(int edge) const { return Value::fromYGValue( - YGNodeStyleGetPadding(m_node, static_cast(edge))); + YGNodeStyleGetPadding(m_node, static_cast(edge))); } float Node::getGap(int gutter) { diff --git a/javascript/sources/Node.hh b/javascript/sources/Node.hh index 35df0f8c..d277b1f0 100644 --- a/javascript/sources/Node.hh +++ b/javascript/sources/Node.hh @@ -157,7 +157,7 @@ public: // Style getters double getBorder(int edge) const; Value getPadding(int edge) const; - + float getGap(int gutter); public: // Tree hierarchy mutators