mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Fixed "WORKING" text hiding the G at some resolutions.
This commit is contained in:
parent
4ad8017c9f
commit
f141dd256c
|
@ -40,7 +40,7 @@ void BusyComponent::onSizeChanged()
|
|||
const float middleSpacerWidth = 0.01f * Renderer::getScreenWidth();
|
||||
const float textHeight = mText->getFont()->getLetterHeight();
|
||||
mText->setSize(0, textHeight);
|
||||
const float textWidth = mText->getSize().x();
|
||||
const float textWidth = mText->getSize().x() + 4;
|
||||
|
||||
mGrid.setColWidthPerc(1, textHeight / mSize.x()); // animation is square
|
||||
mGrid.setColWidthPerc(2, middleSpacerWidth / mSize.x());
|
||||
|
|
Loading…
Reference in a new issue