mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UI: Darken game-as-background a bit more for UI legibility
This commit is contained in:
parent
40ae99073b
commit
7f7af003ce
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ void DrawGameBackground(UIContext &dc, const Path &gamePath, float x, float y, f
|
|||
dc.Begin();
|
||||
|
||||
if (darkenBackground) {
|
||||
uint32_t color = colorAlpha(colorBlend(dc.GetTheme().backgroundColor, 0, 0.5f), 0.45f);
|
||||
uint32_t color = colorAlpha(colorBlend(dc.GetTheme().backgroundColor, 0, 0.5f), 0.65f);
|
||||
dc.FillRect(UI::Drawable(color), dc.GetBounds());
|
||||
dc.Flush();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue