mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Small adjustment to the scraper busy component so it doesn't align precisely with any text boundaries.
This commit is contained in:
parent
6a67df894f
commit
4bda5a7495
|
@ -653,6 +653,10 @@ void GuiScraperSearch::render(const glm::mat4& parentTrans)
|
|||
renderChildren(trans);
|
||||
mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, 0x00000009, 0x00000009);
|
||||
|
||||
// Slight adjustment upwards so the busy grid is not rendered precisely at the text edge.
|
||||
trans = glm::translate(
|
||||
trans, glm::vec3 {0.0f, -(mRenderer->getScreenResolutionModifier() * 10.0f), 0.0f});
|
||||
|
||||
if (mBlockAccept) {
|
||||
mRenderer->setMatrix(trans);
|
||||
mBusyAnim.render(trans);
|
||||
|
|
Loading…
Reference in a new issue