mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fixed a small font rendering issue in BusyComponent on some devices at low resolutions.
This commit is contained in:
parent
2c392ea32f
commit
8b5bb18357
|
@ -54,7 +54,7 @@ void BusyComponent::onSizeChanged()
|
|||
mGrid.setColWidthPerc(2, middleSpacerWidth / mSize.x);
|
||||
mGrid.setColWidthPerc(3, textWidth / mSize.x);
|
||||
|
||||
mGrid.setRowHeightPerc(1, textHeight / mSize.y);
|
||||
mGrid.setRowHeightPerc(1, textHeight / std::round(mSize.y));
|
||||
|
||||
mBackground.setCornerSize(
|
||||
{16.0f * Renderer::getScreenWidthModifier(), 16.0f * Renderer::getScreenHeightModifier()});
|
||||
|
|
Loading…
Reference in a new issue