Enhanced Raid Frames

Enhanced Raid Frames

940k Downloads

Target Markers not working in Cata Classic

orionshock opened this issue ยท 0 comments

commented

This is no longer the case in Cata Classic after Firelands Update

local coords = {}
-- Get the texture coordinates for the marker
if not self.isWoWClassic then
-- 11.0 changed GetTextureCoords to return the coords unpacked
-- 1.15.4 updated to match retail, only WoW Cataclysm Classic still uses the old way
coords.tCoordLeft, coords.tCoordRight, coords.tCoordTop, coords.tCoordBottom = _G["UnitPopupRaidTarget" .. index .. "ButtonMixin"]:GetTextureCoords()
else
coords = _G["UnitPopupRaidTarget" .. index .. "ButtonMixin"]:GetTextureCoords()
end
-- Set the marker texture using trilinear filtering (reduces pixelation)

Dump: value=UnitPopupRaidTarget1ButtonMixin:GetTextureCoords()
[1]=0,
[2]=0.25,
[3]=0,
[4]=0.25