diff --git a/es-core/src/components/FlexboxComponent.cpp b/es-core/src/components/FlexboxComponent.cpp index 822bd55cf..52ea8278a 100644 --- a/es-core/src/components/FlexboxComponent.cpp +++ b/es-core/src/components/FlexboxComponent.cpp @@ -38,7 +38,7 @@ void FlexboxComponent::render(const glm::mat4& parentTrans) return; if (!mLayoutValid) - computeLayout(); + calculateLayout(); glm::mat4 trans {parentTrans * getTransform()}; mRenderer->setMatrix(trans); @@ -82,7 +82,7 @@ void FlexboxComponent::setItemMargin(glm::vec2 value) mLayoutValid = false; } -void FlexboxComponent::computeLayout() +void FlexboxComponent::calculateLayout() { // If we're not clamping itemMargin to a reasonable value, all kinds of weird rendering // issues could occur. diff --git a/es-core/src/components/FlexboxComponent.h b/es-core/src/components/FlexboxComponent.h index e525808cc..6cd3e0712 100644 --- a/es-core/src/components/FlexboxComponent.h +++ b/es-core/src/components/FlexboxComponent.h @@ -78,7 +78,7 @@ public: private: // Calculate flexbox layout. - void computeLayout(); + void calculateLayout(); Renderer* mRenderer; std::vector& mItems;