Fixed an issue with the Streamer! plugin hiding after a logon
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
local addonName, Details222 = ...
|
||||
local version, build, date, tocversion = GetBuildInfo()
|
||||
|
||||
_detalhes.build_counter = 10402
|
||||
_detalhes.alpha_build_counter = 10402 --if this is higher than the regular counter, use it instead
|
||||
_detalhes.build_counter = 10403
|
||||
_detalhes.alpha_build_counter = 10403 --if this is higher than the regular counter, use it instead
|
||||
_detalhes.dont_open_news = true
|
||||
_detalhes.game_version = version
|
||||
_detalhes.userversion = version .. " " .. _detalhes.build_counter
|
||||
|
||||
@@ -2440,6 +2440,12 @@ function StreamOverlay:OnEvent (_, event, ...)
|
||||
if (StreamOverlay.db.is_first_run and not Details:GetTutorialCVar ("STREAMER_PLUGIN_FIRSTRUN")) then
|
||||
local show_frame = function()
|
||||
|
||||
if ("Don't Show The Welcome Screen") then
|
||||
StreamOverlay.db.is_first_run = false
|
||||
Details:DisablePlugin ("DETAILS_PLUGIN_STREAM_OVERLAY")
|
||||
return
|
||||
end
|
||||
|
||||
if ((DetailsWelcomeWindow and DetailsWelcomeWindow:IsShown()) or not StreamOverlay.db.is_first_run) then
|
||||
return
|
||||
end
|
||||
@@ -2496,7 +2502,7 @@ function StreamOverlay:OnEvent (_, event, ...)
|
||||
close:SetPoint ("center", text3, "center", 0, -50)
|
||||
end
|
||||
|
||||
--StreamOverlay.ShowWelcomeFrame = C_Timer.NewTicker (5, show_frame)
|
||||
StreamOverlay.ShowWelcomeFrame = C_Timer.NewTicker (5, show_frame)
|
||||
end
|
||||
|
||||
--wipe (StreamOverlay.db)
|
||||
|
||||
Reference in New Issue
Block a user