Skip to content

Commit

Permalink
fix black outline color
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Jan 23, 2025
1 parent d4830a0 commit 2e1698e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWToolboxdll/Widgets/SkillbarWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void SkillbarWidget::Draw(IDirect3DDevice9*)
ImGui::PushFont(font, draw_list, font_size);
if (IM_COL32_A_MASK & color_text_outline) {
ImVec2 center_pos(top_left.x + m_skill_width / 2, top_left.y + m_skill_width / 2);
ImGui::DrawTextWithOutline(draw_list, font, skill.cooldown, center_pos, color_text_recharge, Colors::Black());
ImGui::DrawTextWithOutline(draw_list, font, skill.cooldown, center_pos, color_text_recharge, color_text_outline);
}
else {
const ImVec2 label_size = ImGui::CalcTextSize(skill.cooldown);
Expand Down

0 comments on commit 2e1698e

Please sign in to comment.