Change when the CDTrackerWindow is set to Initialized

This commit is contained in:
Flamanis
2022-11-19 17:27:36 -06:00
committed by GitHub
parent fa8ba5ac05
commit 8e5a74da47
+2 -2
View File
@@ -390,8 +390,8 @@ end
--check if the window exists, if not create it
if (not _G.DetailsCDTrackerWindow or not _G.DetailsCDTrackerWindow.Initialized) then
_G.DetailsCDTrackerWindow.Initialized = true
local f = _G.DetailsCDTrackerWindow or DF:CreateSimplePanel(UIParent, 700, 480, "Details! Online CD Tracker", "DetailsCDTrackerWindow")
_G.DetailsCDTrackerWindow.Initialized = true
DF:ApplyStandardBackdrop(f)
--enabled with a toggle button
--execute to reset position
@@ -596,4 +596,4 @@ end
_G.DetailsPluginContainerWindow.OpenPlugin(_G.DetailsCDTrackerWindow)
_G.DetailsCDTrackerWindow:Show()
end
end