From 8e5a74da47079430954956b4f70397075d3664c5 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Sat, 19 Nov 2022 17:27:36 -0600 Subject: [PATCH] Change when the CDTrackerWindow is set to Initialized --- frames/window_cdtracker.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frames/window_cdtracker.lua b/frames/window_cdtracker.lua index 6fcd7e9e..9176412e 100644 --- a/frames/window_cdtracker.lua +++ b/frames/window_cdtracker.lua @@ -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 \ No newline at end of file + end