fixed browser scale options slider

This commit is contained in:
Anch
2022-08-13 13:59:18 +12:00
parent f71d9be51d
commit 68f2992143
+1 -1
View File
@@ -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();