From 0cbdc9f2e92f4f70bf2701d1744f3016bed2bec5 Mon Sep 17 00:00:00 2001 From: Anch Date: Sun, 2 Oct 2022 17:32:42 +1300 Subject: [PATCH] difficulty frame overlap -fixed difficulty's being shown while a map was open --- AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua index af9d82f..112c131 100644 --- a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua +++ b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrameCreate.lua @@ -458,7 +458,7 @@ local scrollFrame = CreateFrame("Frame", "Atlasloot_Difficulty_ScrollFrame", Atl scrollFrame.Lable:SetJustifyH("LEFT"); scrollFrame.Lable:SetFont("GameFontNormal", 24); -function AtlasLoot:ScrollFrameUpdate() +function AtlasLoot:ScrollFrameUpdate(hide) if AtlasLoot_Difficulty then local maxValue = #AtlasLoot_Difficulty[ATLASLOOT_CURRENTTYPE]; FauxScrollFrame_Update(scrollFrame.scrollBar, maxValue, MAX_ROWS, ROW_HEIGHT);