fix code style

This commit is contained in:
Dmitry Ivakhnenko
2022-11-22 15:11:29 +03:00
parent 7eb1875762
commit 6a5f53ed6a
3 changed files with 4 additions and 5 deletions

View File

@@ -17,4 +17,3 @@ struct Layout {
double width; double width;
double height; double height;
}; };

View File

@@ -242,7 +242,7 @@ int Node::getPositionType(void) const {
Value Node::getPosition(int edge) const { Value Node::getPosition(int edge) const {
return Value::fromYGValue( return Value::fromYGValue(
YGNodeStyleGetPosition(m_node, static_cast<YGEdge>(edge))); YGNodeStyleGetPosition(m_node, static_cast<YGEdge>(edge)));
} }
int Node::getAlignContent(void) const { int Node::getAlignContent(void) const {
@@ -271,7 +271,7 @@ int Node::getJustifyContent(void) const {
Value Node::getMargin(int edge) const { Value Node::getMargin(int edge) const {
return Value::fromYGValue( return Value::fromYGValue(
YGNodeStyleGetMargin(m_node, static_cast<YGEdge>(edge))); YGNodeStyleGetMargin(m_node, static_cast<YGEdge>(edge)));
} }
int Node::getOverflow(void) const { int Node::getOverflow(void) const {
@@ -328,7 +328,7 @@ double Node::getBorder(int edge) const {
Value Node::getPadding(int edge) const { Value Node::getPadding(int edge) const {
return Value::fromYGValue( return Value::fromYGValue(
YGNodeStyleGetPadding(m_node, static_cast<YGEdge>(edge))); YGNodeStyleGetPadding(m_node, static_cast<YGEdge>(edge)));
} }
float Node::getGap(int gutter) { float Node::getGap(int gutter) {