(Windows) Fixed two MSVC compiler warnings.

This commit is contained in:
Leon Styhre 2021-10-13 17:23:29 +02:00
parent 07425d41fa
commit c2d059f92e
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ DetailedGameListView::DetailedGameListView(Window* window, FileData* root)
addChild(&mBadges);
mBadges.setOrigin(0.0f, 0.0f);
mBadges.setPosition(mSize.x * 0.8f, mSize.y * 0.7f);
mBadges.setSize(mSize.x * 0.15, mSize.y * 0.2f);
mBadges.setSize(mSize.x * 0.15f, mSize.y * 0.2f);
mBadges.setDefaultZIndex(50.0f);
mName.setPosition(mSize.x, mSize.y);

View file

@ -123,7 +123,7 @@ VideoGameListView::VideoGameListView(Window* window, FileData* root)
addChild(&mBadges);
mBadges.setOrigin(0.0f, 0.0f);
mBadges.setPosition(mSize.x * 0.8f, mSize.y * 0.7f);
mBadges.setSize(mSize.x * 0.15, mSize.y * 0.2f);
mBadges.setSize(mSize.x * 0.15f, mSize.y * 0.2f);
mBadges.setDefaultZIndex(50.0f);
mName.setPosition(mSize.x, mSize.y);