remove unused prd code
This commit is contained in:
@@ -4580,6 +4580,14 @@ function Private.ensurePRDFrame()
|
||||
wipe(personalRessourceDisplayFrame.attachedVisibleFrames);
|
||||
end
|
||||
|
||||
personalRessourceDisplayFrame.expand = function(self, id)
|
||||
local data = WeakAuras.GetData(id);
|
||||
if (data.anchorFrameType == "PRD") then
|
||||
self.attachedVisibleFrames[id] = true;
|
||||
self:updateVisible();
|
||||
end
|
||||
end
|
||||
|
||||
personalRessourceDisplayFrame.collapse = function(self, id)
|
||||
self.attachedVisibleFrames[id] = nil;
|
||||
self:updateVisible();
|
||||
|
||||
@@ -1416,9 +1416,9 @@ local methods = {
|
||||
if self.view.visibility >= 1 then
|
||||
if(self.view.region and self.view.region.Expand) then
|
||||
OptionsPrivate.Private.FakeStatesFor(self.view.region.id, true)
|
||||
if (OptionsPrivate.Private.personalRessourceDisplayFrame) then
|
||||
OptionsPrivate.Private.personalRessourceDisplayFrame:expand(self.view.region.id);
|
||||
end
|
||||
--if (OptionsPrivate.Private.personalRessourceDisplayFrame) then
|
||||
--OptionsPrivate.Private.personalRessourceDisplayFrame:expand(self.view.region.id);
|
||||
--end
|
||||
if (OptionsPrivate.Private.mouseFrame) then
|
||||
OptionsPrivate.Private.mouseFrame:expand(self.view.region.id);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user