From da7bfa0fa76caddb0bee8d727d292b09c5e6cac8 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 18 Sep 2022 16:02:03 +0200 Subject: [PATCH] Fixed an issue where the TextListComponent debug overlay would not always be correctly positioned. --- es-core/src/components/primary/TextListComponent.h | 1 + 1 file changed, 1 insertion(+) diff --git a/es-core/src/components/primary/TextListComponent.h b/es-core/src/components/primary/TextListComponent.h index 354598612..2b0221ef8 100644 --- a/es-core/src/components/primary/TextListComponent.h +++ b/es-core/src/components/primary/TextListComponent.h @@ -390,6 +390,7 @@ template void TextListComponent::render(const glm::mat4& parentT } if (Settings::getInstance()->getBool("DebugText")) { + mRenderer->setMatrix(trans); mRenderer->drawRect(mHorizontalMargin, 0.0f, mSize.x - mHorizontalMargin * 2.0f, mSize.y, 0x00000033, 0x00000033); mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, 0x00FF0033, 0x00FF0033);