text outline: color: set alpha to alpha param

pull/1079/head
FlightlessMango 10 months ago
parent 41f8446cf1
commit 1f2b31008e

@ -386,7 +386,7 @@ void RenderOutlinedText(const char* text, ImU32 textColor) {
float outlineThickness = HUDElements.params->text_outline_thickness;
ImVec2 textSize = ImGui::CalcTextSize(text);
ImVec4 colorVec4 = ImGui::ColorConvertU32ToFloat4(HUDElements.params->text_outline_color);
colorVec4.w = 1;
colorVec4.w = HUDElements.params->alpha;
ImU32 outlineColor = ImGui::ColorConvertFloat4ToU32(colorVec4);
ImVec2 pos = window->DC.CursorPos;

Loading…
Cancel
Save