5.19.10
This commit is contained in:
@@ -110,7 +110,16 @@ function OptionsPrivate.CreateFrame()
|
||||
frame:SetResizable(true)
|
||||
frame:SetMinResize(minWidth, minHeight)
|
||||
frame:SetFrameStrata("DIALOG")
|
||||
frame.PortraitContainer.portrait:SetTexture([[Interface\AddOns\WeakAuras\Media\Textures\logo_256_round.tga]])
|
||||
|
||||
local now = time()
|
||||
local y = date("*t", now).year
|
||||
local inJune = now >= time{year=y, month=6, day=1, hour=0} and now < time{year=y, month=7, day=1, hour=0}
|
||||
if inJune then
|
||||
frame.PortraitContainer.portrait:SetTexture([[Interface\AddOns\WeakAuras\Media\Textures\logo_256_round_pride.tga]])
|
||||
else
|
||||
frame.PortraitContainer.portrait:SetTexture([[Interface\AddOns\WeakAuras\Media\Textures\logo_256_round.tga]])
|
||||
end
|
||||
|
||||
frame.window = "default"
|
||||
|
||||
local xOffset, yOffset
|
||||
@@ -508,7 +517,7 @@ function OptionsPrivate.CreateFrame()
|
||||
end
|
||||
|
||||
local awesomeWotlkButton
|
||||
if not WeakAuras.isAwesomeEnabled() then
|
||||
if not WeakAuras.IsAwesomeEnabled() then
|
||||
awesomeWotlkButton = addFooter("Awesome WotLK", [[Interface\AddOns\WeakAuras\Media\Textures\GitHub.tga]], "https://github.com/FrostAtom/awesome_wotlk/releases",
|
||||
L["Unlock nameplate anchoring & units in WeakAuras with the Awesome WotLK client patch"])
|
||||
awesomeWotlkButton:SetParent(tipFrame)
|
||||
|
||||
Reference in New Issue
Block a user