Skip to content

Commit

Permalink
Merge pull request #815 from pbdot/ec-fix-flash-accessibility
Browse files Browse the repository at this point in the history
Fix flash accessibility
  • Loading branch information
pbdot authored Jan 10, 2025
2 parents a5c636e + a0907dd commit 91b30a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source_files/edge/r_effects.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void RendererColourmapEffect(Player *player)
HUDSetAlpha(0.0f);
s = HMM_MAX(0.5f, s);
HUDThinBox(hud_x_left, hud_visible_top, hud_x_right, hud_visible_bottom,
epi::MakeRGBAFloat(s, s, s, 0.25f), kBlendingInvert);
epi::MakeRGBAFloat(s, s, s), 25.0f, kBlendingInvert);
HUDSetAlpha(old_alpha);
}
}
Expand Down Expand Up @@ -231,7 +231,7 @@ void RendererPaletteEffect(Player *player)
{
HUDSetAlpha(0.20f * s);
HUDThinBox(hud_x_left, hud_visible_top, hud_x_right, hud_visible_bottom,
epi::MakeRGBAFloat(r, g, b, 0.25f));
epi::MakeRGBAFloat(r, g, b), 25.0f);
}
}
else
Expand All @@ -254,7 +254,7 @@ void RendererPaletteEffect(Player *player)
HUDThinBox(hud_x_left, hud_visible_top, hud_x_right, hud_visible_bottom,
epi::MakeRGBAFloat((float)rgb_data[0] / rgb_max,
(float)rgb_data[1] / rgb_max,
(float)rgb_data[2] / rgb_max), 0.25f);
(float)rgb_data[2] / rgb_max), 25.0f);
}
}

Expand Down

0 comments on commit 91b30a9

Please sign in to comment.