From 41965a448031baa2eb227785c25f1fff486634a1 Mon Sep 17 00:00:00 2001 From: Glyalith Date: Mon, 7 Sep 2026 12:19:31 -0600 Subject: [PATCH] Fix custom buff icon border alignment --- EllesmereUIRaidFrames/EUI_RaidFrames_AuraContainers.lua | 2 ++ EllesmereUIRaidFrames/EUI_RaidFrames_BuffManager.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/EllesmereUIRaidFrames/EUI_RaidFrames_AuraContainers.lua b/EllesmereUIRaidFrames/EUI_RaidFrames_AuraContainers.lua index cace49010..986f2ba98 100644 --- a/EllesmereUIRaidFrames/EUI_RaidFrames_AuraContainers.lua +++ b/EllesmereUIRaidFrames/EUI_RaidFrames_AuraContainers.lua @@ -1236,6 +1236,8 @@ local function ApplyBmIconExtra(button, dd, style) -- uninstall): Show post-hook re-hides, alpha 0 covers engine paths that -- re-show outside the hooked Lua method. Hook installs lazily on first hide. if dd.icon then + -- Match the unsnapped border strips at fractional icon edges. + if EllesmereUI.PP then EllesmereUI.PP.DisablePixelSnap(dd.icon) end dd.bmHideIcon = style.hideIcon == true dd.icon:SetShown(not dd.bmHideIcon) if dd.bmHideIcon and not dd.bmIconHooked then diff --git a/EllesmereUIRaidFrames/EUI_RaidFrames_BuffManager.lua b/EllesmereUIRaidFrames/EUI_RaidFrames_BuffManager.lua index 11b5f601d..fa8e0e459 100644 --- a/EllesmereUIRaidFrames/EUI_RaidFrames_BuffManager.lua +++ b/EllesmereUIRaidFrames/EUI_RaidFrames_BuffManager.lua @@ -1069,6 +1069,7 @@ function ns.BM_CreatePreviewIndicators(f, health, PP) fr:Hide() local tex = fr:CreateTexture(nil, "ARTWORK") + if PP then PP.DisablePixelSnap(tex) end tex:SetAllPoints() tex:SetTexCoord(0.08, 0.92, 0.08, 0.92) fr._tex = tex