add a few comments

This commit is contained in:
Anch
2022-01-30 15:13:25 +13:00
parent 1243116d3f
commit b53c860107
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -532,7 +532,7 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame)
-- Hide the Filter Check-Box
AtlasLootFilterCheck:Hide();
--
-- Updates AtlasLoot_Lastboss if your in a main loot table
if AtlasLoot_Hold == false then
AtlasLoot_Lastboss = dataID;
end
@@ -1116,6 +1116,7 @@ function AtlasLoot_NavButton_OnClick()
--Fallback for if the requested loot page is a menu and does not have a .refresh instance
AtlasLoot_ShowItemsFrame(this.lootpage, "", "", AtlasFrame);
end
-- Lets AtlasLoot_Lastboss be updated after going back to main table
AtlasLoot_Hold = false;
end
+1
View File
@@ -264,6 +264,7 @@ function AtlasLootItem_OnClick(arg1)
AtlasLoot_ShowItemsFrame(dataID, dataSource, AtlasLoot_TableNames[dataID][1], AtlasLootItemsFrame.refresh[4]);
end
elseif (arg1=="LeftButton") and this.sourcePage ~= nil then
--Holds AtlasLoot_Lastboss so back button works
AtlasLoot_Hold = true;
AtlasLoot_ShowBossLoot(this.sourcePage, this.sourcePage, pFrame);
end