mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fixed theming for game image dimensions.
This commit is contained in:
parent
8120fcb54d
commit
03995a66bb
|
@ -228,6 +228,7 @@ void GuiGameList::updateTheme()
|
|||
mScreenshot->setOffsetX(mTheme->getGameImageOffsetX() * Renderer::getScreenWidth());
|
||||
mScreenshot->setOffsetY(mTheme->getGameImageOffsetY() * Renderer::getScreenHeight());
|
||||
mScreenshot->setOrigin(mTheme->getGameImageOriginX(), mTheme->getGameImageOriginY());
|
||||
mScreenshot->setResize(mTheme->getGameImageWidth(), mTheme->getGameImageHeight(), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ void GuiTheme::setDefaults()
|
|||
mGameImageOriginY = 0;
|
||||
mGameImageOffsetX = mListOffsetX / 2;
|
||||
mGameImageOffsetY = (float)Renderer::getFontHeight(Renderer::LARGE) / Renderer::getScreenHeight();
|
||||
mGameImageWidth = 0;
|
||||
mGameImageWidth = mListOffsetX;
|
||||
mGameImageHeight = 0;
|
||||
|
||||
mBoxData.backgroundPath = "";
|
||||
|
|
Loading…
Reference in a new issue