mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-17 18:55:19 +01:00
overlays/checkbox: Make sure backgrounds are opaque for clarity
This commit is contained in:
parent
b8e2c7060b
commit
198fe71cc4
|
|
@ -131,12 +131,14 @@ namespace rsx::overlays
|
|||
if (m_is_checked)
|
||||
{
|
||||
m_back_ellipse->back_color = this->fore_color * 0.5f;
|
||||
m_back_ellipse->back_color.a = 1.f;
|
||||
m_front_circle->back_color = this->fore_color;
|
||||
m_front_circle->set_pos(this->x + m_front_circle->w, this->y);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_back_ellipse->back_color = this->back_color * 0.5f;
|
||||
m_back_ellipse->back_color.a = 1.f;
|
||||
m_front_circle->back_color = this->back_color;
|
||||
m_front_circle->set_pos(this->x, this->y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue