From 1f2b31008e3cc48c96ae10d0380dff1b499c6871 Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Sun, 23 Jul 2023 10:47:39 +0200 Subject: [PATCH] text outline: color: set alpha to alpha param --- src/overlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlay.cpp b/src/overlay.cpp index 2aefda7f..8766cea7 100644 --- a/src/overlay.cpp +++ b/src/overlay.cpp @@ -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;