mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 17:19:42 +00:00
Minor gamelist fix
This commit is contained in:
parent
7972f98739
commit
4c9e8defe8
@ -562,7 +562,10 @@ void FileListAdapter::drawItem(int item, int x, int y, int w, int h, bool select
|
||||
icon = iter->second;
|
||||
}
|
||||
|
||||
int iconSpace = 144;
|
||||
float scaled_h = ui_atlas.images[I_BUTTON].h;
|
||||
float scaled_w = scaled_h * (144.f / 80.f);
|
||||
|
||||
int iconSpace = scaled_w + 10;
|
||||
ui_draw2d.DrawImage2GridH(selected ? I_BUTTON_SELECTED: I_BUTTON, x, y, x + w);
|
||||
ui_draw2d.DrawTextShadow(UBUNTU24, (*items_)[item].name.c_str(), x + UI_SPACE + iconSpace, y + 25, 0xFFFFFFFF, ALIGN_LEFT | ALIGN_VCENTER);
|
||||
|
||||
@ -577,8 +580,6 @@ void FileListAdapter::drawItem(int item, int x, int y, int w, int h, bool select
|
||||
}
|
||||
}
|
||||
if (ginfo) {
|
||||
float scaled_h = ui_atlas.images[I_BUTTON].h;
|
||||
float scaled_w = scaled_h * (144.f / 80.f);
|
||||
if (ginfo->iconTexture) {
|
||||
uint32_t color = whiteAlpha(ease((time_now_d() - ginfo->timeIconWasLoaded) * 2));
|
||||
UIFlush();
|
||||
|
2
native
2
native
@ -1 +1 @@
|
||||
Subproject commit 345180dcef8b47a3c21b6eb7a18942e54eb93c6c
|
||||
Subproject commit 0d0ed1256b5c7fafa86de4ea75d29bbc5b16d12e
|
Loading…
Reference in New Issue
Block a user