From 8b5bb18357fc08211fbfa39b5dc8f7d7da22d17c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 4 Nov 2022 13:32:10 +0100 Subject: [PATCH] Fixed a small font rendering issue in BusyComponent on some devices at low resolutions. --- es-core/src/components/BusyComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/BusyComponent.cpp b/es-core/src/components/BusyComponent.cpp index 68ae9620a..3a06c13ef 100644 --- a/es-core/src/components/BusyComponent.cpp +++ b/es-core/src/components/BusyComponent.cpp @@ -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()});