From 68f299214301aae0059b03f70695adbcadd156e4 Mon Sep 17 00:00:00 2001 From: Anch Date: Sat, 13 Aug 2022 13:59:18 +1200 Subject: [PATCH] fixed browser scale options slider --- AtlasLoot/Core/Options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AtlasLoot/Core/Options.lua b/AtlasLoot/Core/Options.lua index d8ca3bd..8294e57 100644 --- a/AtlasLoot/Core/Options.lua +++ b/AtlasLoot/Core/Options.lua @@ -355,7 +355,7 @@ local sStyle = CreateFrame("Button", "AtlasLoot_SelectLootBrowserStyle", AtlasLo local bscale = CreateFrame("Slider", "AtlasLootOptionsFrameLootBrowserScale", AtlasLootOptionsFrame,"OptionsSliderTemplate"); bscale:SetSize(240,16); bscale:SetPoint("TOP", 0,-300); - bscale:SetScript("OnLoad", function(self) AtlasLoot_SetupLootBrowserSlider(self, 0.25, 1.5, 0.01) end); + bscale:SetScript("OnShow", function(self) AtlasLoot_SetupLootBrowserSlider(self, 0.25, 1.5, 0.01) end); bscale:SetScript("OnValueChanged", function(self) AtlasLoot_UpdateLootBrowserSlider(self); AtlasLoot.db.profile.LootBrowserScale = self:GetValue();