from retail
This commit is contained in:
@@ -760,7 +760,7 @@ function WeakAuras.CreateFrame()
|
||||
end
|
||||
end
|
||||
if (type(self.pickedDisplay) == "string" and self.pickedDisplay == id)
|
||||
or (type(self.pickedDisplay == "table") and id == tempGroup.id)
|
||||
or (type(self.pickedDisplay) == "table" and id == tempGroup.id)
|
||||
then
|
||||
frame:UpdateOptions()
|
||||
end
|
||||
@@ -1184,6 +1184,13 @@ function WeakAuras.CreateFrame()
|
||||
self:FillOptions()
|
||||
end
|
||||
|
||||
frame.GetPickedDisplay = function(self)
|
||||
if type(self.pickedDisplay) == "string" then
|
||||
return WeakAuras.GetData(self.pickedDisplay)
|
||||
end
|
||||
return self.pickedDisplay
|
||||
end
|
||||
|
||||
frame:SetClampedToScreen(true)
|
||||
local w, h = frame:GetSize()
|
||||
local left, right, top, bottom = w/2,-w/2, 0, h-25
|
||||
|
||||
Reference in New Issue
Block a user