Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetiss committed Dec 7, 2022
1 parent 7eb1875 commit 6a5f53e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion javascript/sources/Layout.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ struct Layout {
double width;
double height;
};

6 changes: 3 additions & 3 deletions javascript/sources/Node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ int Node::getPositionType(void) const {

Value Node::getPosition(int edge) const {
return Value::fromYGValue(
YGNodeStyleGetPosition(m_node, static_cast<YGEdge>(edge)));
YGNodeStyleGetPosition(m_node, static_cast<YGEdge>(edge)));
}

int Node::getAlignContent(void) const {
Expand Down Expand Up @@ -271,7 +271,7 @@ int Node::getJustifyContent(void) const {

Value Node::getMargin(int edge) const {
return Value::fromYGValue(
YGNodeStyleGetMargin(m_node, static_cast<YGEdge>(edge)));
YGNodeStyleGetMargin(m_node, static_cast<YGEdge>(edge)));
}

int Node::getOverflow(void) const {
Expand Down Expand Up @@ -328,7 +328,7 @@ double Node::getBorder(int edge) const {

Value Node::getPadding(int edge) const {
return Value::fromYGValue(
YGNodeStyleGetPadding(m_node, static_cast<YGEdge>(edge)));
YGNodeStyleGetPadding(m_node, static_cast<YGEdge>(edge)));
}

float Node::getGap(int gutter) {
Expand Down
2 changes: 1 addition & 1 deletion javascript/sources/Node.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a5f53e

Please sign in to comment.