mirror of
https://github.com/wiiu-env/launchiine.git
synced 2024-11-25 03:06:52 +01:00
Fix displaying GuiIcons which already have imageData
This commit is contained in:
parent
340baed8ed
commit
7ef3e4dc2e
@ -125,7 +125,11 @@ void GuiIconGrid::OnGameButtonClick(GuiButton *button, const GuiController *cont
|
||||
|
||||
void GuiIconGrid::OnGameTitleAdded(gameInfo * info) {
|
||||
DEBUG_FUNCTION_LINE("Adding %016llX\n", info->titleId);
|
||||
GameIcon * image = new GameIcon(&noIcon);
|
||||
GuiImageData * imageData = &noIcon;
|
||||
if(info->imageData != NULL){
|
||||
imageData = info->imageData;
|
||||
}
|
||||
GameIcon * image = new GameIcon(imageData);
|
||||
image->setRenderReflection(false);
|
||||
image->setStrokeRender(false);
|
||||
image->setSelected(info->titleId == selectedGame);
|
||||
|
Loading…
Reference in New Issue
Block a user