mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixed a tiny alignment issue in the scraper interface
This commit is contained in:
parent
c97555a4c6
commit
a36f866278
|
@ -183,8 +183,9 @@ GuiScraperSearch::~GuiScraperSearch()
|
|||
|
||||
void GuiScraperSearch::onSizeChanged()
|
||||
{
|
||||
mGrid.setSize(glm::vec2 {mSize.x, (mResultList->getRowHeight() * mRowCount) +
|
||||
std::round(mRenderer->getScreenHeightModifier())});
|
||||
mGrid.setSize(
|
||||
glm::vec2 {std::round(mSize.x), (mResultList->getRowHeight() * mRowCount) +
|
||||
std::round(mRenderer->getScreenHeightModifier())});
|
||||
|
||||
if (mSize.x == 0 || mSize.y == 0)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue