fix AL panel button
This commit is contained in:
+4
-14
@@ -661,23 +661,13 @@
|
|||||||
this:SetText(AL["AL Panel"]);
|
this:SetText(AL["AL Panel"]);
|
||||||
</OnShow>
|
</OnShow>
|
||||||
<OnClick>
|
<OnClick>
|
||||||
if AtlasLootCharDB.HidePanel then
|
if AtlasLootPanel:IsShown() then
|
||||||
AtlasLootCharDB.HidePanel = false;
|
AtlasLootPanel:Hide()
|
||||||
if (AtlasFrame) then
|
|
||||||
if AtlasFrame:IsVisible() then
|
|
||||||
AtlasLootPanel:Show();
|
|
||||||
end
|
|
||||||
end
|
|
||||||
else
|
else
|
||||||
AtlasLootCharDB.HidePanel = true;
|
AtlasLootPanel:Show()
|
||||||
if (AtlasFrame) then
|
|
||||||
if AtlasFrame:IsVisible() then
|
|
||||||
AtlasLootPanel:Hide();
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
AtlasLootCharDB.HidePanel = not AtlasLootPanel:IsShown()
|
||||||
AtlasLootOptionsFrameHidePanel:SetChecked(AtlasLootCharDB.HidePanel);
|
AtlasLootOptionsFrameHidePanel:SetChecked(AtlasLootCharDB.HidePanel);
|
||||||
AtlasLoot_SetupForAtlas();
|
|
||||||
</OnClick>
|
</OnClick>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user