mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 21:37:58 +03:00
imgui_utils: Make text shadows thicker for Original 4:3 (#385)
This commit is contained in:
parent
9ec6bd95e1
commit
a8e78c21d1
1 changed files with 6 additions and 0 deletions
|
@ -317,6 +317,12 @@ void DrawTextWithShadow(const ImFont* font, float fontSize, const ImVec2& pos, I
|
|||
|
||||
offset = Scale(offset);
|
||||
|
||||
// Original 4:3 has thicker text shadows.
|
||||
if (Config::AspectRatio == EAspectRatio::OriginalNarrow)
|
||||
{
|
||||
radius *= 1.5f;
|
||||
}
|
||||
|
||||
SetOutline(radius);
|
||||
drawList->AddText(font, fontSize, { pos.x + offset, pos.y + offset }, shadowColour, text);
|
||||
ResetOutline();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue