comparison SkeenCore3HunterBeastMastery.lua @ 31:3c1e49471599 v1.5.7

Fixed an option frame issue
author Emil Madsen <skeen@cs.au.dk>
date Thu, 12 Dec 2013 22:34:41 +0100
parents d3e8f63bd3b8
children 7ff18211e213
comparison
equal deleted inserted replaced
30:26062d9f7d7f 31:3c1e49471599
42 string:SetPoint("TOPLEFT", string_X, y) 42 string:SetPoint("TOPLEFT", string_X, y)
43 43
44 checkbox = CreateFrame("CheckButton", nil, panel, "OptionsCheckButtonTemplate") 44 checkbox = CreateFrame("CheckButton", nil, panel, "OptionsCheckButtonTemplate")
45 checkbox:SetWidth(18) 45 checkbox:SetWidth(18)
46 checkbox:SetHeight(18) 46 checkbox:SetHeight(18)
47 checkbox:SetScript("OnClick", function() Option_Functions:ToggleVanish() end) 47 checkbox:SetScript("OnClick", function() Option_Functions:ToggleHuntersMark() end)
48 checkbox:SetPoint("TOPRIGHT", checkbox_X, y) 48 checkbox:SetPoint("TOPRIGHT", checkbox_X, y)
49 checkbox:SetChecked(Option_Functions:ToggleHuntersMark()) 49 checkbox:SetChecked(Option_Functions:GetHuntersMark())
50 50
51 return panel 51 return panel
52 end 52 end
53 53
54 local function Cooldowns() 54 local function Cooldowns()