Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-11-22, 10:30 AM   #1
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2011
Posts: 37
visibleAuras in ouf 11

I do this to force nameplates aura icon justify to center, but visibleAuras was removed in ouf 11, dunno what new argument should i replaced

Code:
local function PreSetPosition(self, max)
	return 1, self.visibleAuras
end

local function SetPosition(self, from, to)
	for i = from, to do
		local button = self[i]
		if not button then break end

		if i == 1 then
			button:SetPoint("CENTER", -(((self.size + self.spacing) * (to - 1)) / 2), 0)
		else
			button:SetPoint("LEFT", self[i-1], "RIGHT", self.spacing, 0)
		end
	end
end
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » visibleAuras in ouf 11


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off