diff --git a/es-core/src/GuiComponent.cpp b/es-core/src/GuiComponent.cpp index 93085c563..d66849627 100644 --- a/es-core/src/GuiComponent.cpp +++ b/es-core/src/GuiComponent.cpp @@ -206,7 +206,7 @@ void GuiComponent::setDimming(float dimming) const glm::mat4& GuiComponent::getTransform() { mTransform = Renderer::getIdentity(); - mTransform = glm::translate(mTransform, mPosition); + mTransform = glm::translate(mTransform, glm::round(mPosition)); if (mScale != 1.0f) mTransform = glm::scale(mTransform, glm::vec3 {mScale});