Release Candidate 1
This commit is contained in:
@@ -2,12 +2,17 @@
|
||||
local Details = _G.Details
|
||||
local Loc = LibStub("AceLocale-3.0"):GetLocale( "Details" )
|
||||
local gump = Details.gump
|
||||
local _
|
||||
local _, Details222 = ...
|
||||
_ = nil
|
||||
|
||||
function Details:OpenNewsWindow(textToShow, dumpValues, keeptext)
|
||||
Details.latest_news_saw = Details.userversion
|
||||
|
||||
local newsFrame = Details:CreateOrOpenNewsWindow()
|
||||
local animationHub = DetailsFramework:CreateAnimationHub(newsFrame)
|
||||
local fadeInAnim1 = DetailsFramework:CreateAnimation(animationHub, "alpha", 1, 0.2, 0, 0.2)
|
||||
local fadeInAnim2 = DetailsFramework:CreateAnimation(animationHub, "alpha", 2, 1.5, 0.5, 1)
|
||||
fadeInAnim2:SetStartDelay(1.3)
|
||||
|
||||
if (dumpValues == "change_log" or textToShow == "LeftButton") then
|
||||
newsFrame:Text (Loc ["STRING_VERSION_LOG"])
|
||||
@@ -57,6 +62,7 @@ function Details:OpenNewsWindow(textToShow, dumpValues, keeptext)
|
||||
end
|
||||
|
||||
newsFrame:Show()
|
||||
animationHub:Play()
|
||||
end
|
||||
|
||||
function Details:CreateOrOpenNewsWindow()
|
||||
|
||||
Reference in New Issue
Block a user