small back button bug fix
This commit is contained in:
@@ -38,6 +38,7 @@ function AtlasLootBoss_OnClick(name)
|
||||
local id = this.idnum;
|
||||
|
||||
AtlasLoot_Lastboss = AtlasLootBossButtons[zoneID][id];
|
||||
AtlasLoot_Hold = false;
|
||||
--If the loot table was already shown and boss clicked again, hide the loot table and fix boss list icons
|
||||
if getglobal(name.."_Selected"):IsVisible() then
|
||||
getglobal(name.."_Selected"):Hide();
|
||||
|
||||
@@ -45,7 +45,7 @@ function AtlasLoot_DewDropClick(tablename, text, tabletype)
|
||||
--Definition of where I want the loot table to be shown
|
||||
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
||||
--If the button clicked was linked to a loot table
|
||||
Hold = false;
|
||||
AtlasLoot_Hold = false;
|
||||
if tabletype == "Table" then
|
||||
--Show the loot table
|
||||
AtlasLoot_ShowBossLoot(tablename, tablename, pFrame);
|
||||
|
||||
Reference in New Issue
Block a user