mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 19:19:43 -06:00
imgui_utils: Make text shadows thicker for Original 4:3 (#385)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user