mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 03:55:40 +00:00
DateTimeEditComponent no longer renders the debug overlay unless there is a string to display
This commit is contained in:
parent
302f6e0fc5
commit
2a9ab5ea88
|
@ -165,7 +165,7 @@ void DateTimeEditComponent::render(const glm::mat4& parentTrans)
|
|||
trans = glm::translate(trans, glm::round(off));
|
||||
mRenderer->setMatrix(trans);
|
||||
|
||||
if (Settings::getInstance()->getBool("DebugText")) {
|
||||
if (Settings::getInstance()->getBool("DebugText") && mDateText->getValue() != "") {
|
||||
mRenderer->setMatrix(trans);
|
||||
mDateText->setDebugRendering(false);
|
||||
if (mDateText->getSize().x > 0.0f) {
|
||||
|
|
Loading…
Reference in a new issue