mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Added a rounding when sizing BusyComponent to improve its rendering at low resolutions
This commit is contained in:
parent
772f2dea90
commit
f39d09d6b7
|
@ -29,7 +29,7 @@ BusyComponent::BusyComponent()
|
|||
|
||||
void BusyComponent::onSizeChanged()
|
||||
{
|
||||
mGrid.setSize(mSize);
|
||||
mGrid.setSize(glm::round(mSize));
|
||||
|
||||
if (mSize.x == 0.0f || mSize.y == 0.0f)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue