difficulty hold

-Swapping between raid/dungeons will now take you to the last difficulty that was selected in that category
This commit is contained in:
Anch
2022-09-22 15:08:21 +12:00
parent 931915889b
commit f94bb8d0fe
2 changed files with 12 additions and 4 deletions
@@ -458,7 +458,7 @@ local scrollFrame = CreateFrame("Frame", "Atlasloot_Difficulty_ScrollFrame", Atl
scrollFrame.Lable:SetJustifyH("LEFT");
scrollFrame.Lable:SetFont("GameFontNormal", 24);
function AtlasLoot:ScrollFrameUpdate(hide)
function AtlasLoot:ScrollFrameUpdate()
if AtlasLoot_Difficulty then
local maxValue = #AtlasLoot_Difficulty[ATLASLOOT_CURRENTTYPE];
FauxScrollFrame_Update(scrollFrame.scrollBar, maxValue, MAX_ROWS, ROW_HEIGHT);