mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
Fixed an issue where the TextListComponent debug overlay would not always be correctly positioned.
This commit is contained in:
parent
c45678e857
commit
da7bfa0fa7
|
@ -390,6 +390,7 @@ template <typename T> void TextListComponent<T>::render(const glm::mat4& parentT
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Settings::getInstance()->getBool("DebugText")) {
|
if (Settings::getInstance()->getBool("DebugText")) {
|
||||||
|
mRenderer->setMatrix(trans);
|
||||||
mRenderer->drawRect(mHorizontalMargin, 0.0f, mSize.x - mHorizontalMargin * 2.0f, mSize.y,
|
mRenderer->drawRect(mHorizontalMargin, 0.0f, mSize.x - mHorizontalMargin * 2.0f, mSize.y,
|
||||||
0x00000033, 0x00000033);
|
0x00000033, 0x00000033);
|
||||||
mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, 0x00FF0033, 0x00FF0033);
|
mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, 0x00FF0033, 0x00FF0033);
|
||||||
|
|
Loading…
Reference in a new issue