From 2a9ee00c332d481cb5bd3d2a7bc8418eef2084d6 Mon Sep 17 00:00:00 2001 From: Yugang Zhou Date: Sun, 10 May 2026 22:10:46 +0800 Subject: [PATCH] Remove non-ASCII glyphs from Bars files Replace UTF-8 comments and the range indicator bullet glyph with ASCII-safe text to avoid encoding issues on Windows clients. --- modules/bars/bars.lua | 4 ++-- modules/bars/range.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/bars/bars.lua b/modules/bars/bars.lua index e0b6441..343eb41 100644 --- a/modules/bars/bars.lua +++ b/modules/bars/bars.lua @@ -111,7 +111,7 @@ DFRL:NewMod("Bars", 1, function() } } - -- ✅ PATCH: Immersion compat helper (não força alpha quando Immersion estiver ativo) + -- Immersion compat helper local _IsAddOnLoaded = (C_AddOns and C_AddOns.IsAddOnLoaded) or IsAddOnLoaded local function DFRL_IsImmersionLoaded() return _IsAddOnLoaded and _IsAddOnLoaded("Immersion") @@ -370,7 +370,7 @@ DFRL:NewMod("Bars", 1, function() _G["ActionButton"..i]:SetAlpha(0) _G["ActionButton"..i]:EnableMouse(false) else - -- ✅ PATCH: não forçar alpha quando Immersion estiver carregado + -- Do not force alpha while Immersion is loaded if not DFRL_IsImmersionLoaded() then _G["ActionButton"..i]:SetAlpha(1) end diff --git a/modules/bars/range.lua b/modules/bars/range.lua index 76389be..18affd2 100644 --- a/modules/bars/range.lua +++ b/modules/bars/range.lua @@ -36,7 +36,7 @@ DFRL:NewMod("RangeIndicator", 1, function() if self.useSimple then self.indicator = button:CreateFontString(nil, "OVERLAY") self.indicator:SetFont("Fonts\\FRIZQT__.TTF", 20, "OUTLINE") - self.indicator:SetText("•") + self.indicator:SetText("X") if self.useDark then self.indicator:SetTextColor(0, 0, 0) else