Quantcast

-slight fix for positioning on first time users

Xruptor [04-06-12 - 18:16]
-slight fix for positioning on first time users
Filename
XanDebuffTimers.lua
XanDebuffTimers.toc
diff --git a/XanDebuffTimers.lua b/XanDebuffTimers.lua
index d549cd1..c3283d9 100644
--- a/XanDebuffTimers.lua
+++ b/XanDebuffTimers.lua
@@ -525,7 +525,7 @@ function f:RestoreLayout(frame)
 	local y = opt.PosY;
 	local s = f:GetEffectiveScale()

-	if not x or not y or opt.firsttime then
+	if opt.firsttime then
 		f:ClearAllPoints()
 		f:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
 		if opt.firsttime then opt.firsttime = nil end
diff --git a/XanDebuffTimers.toc b/XanDebuffTimers.toc
index 5623e01..c28855c 100644
--- a/XanDebuffTimers.toc
+++ b/XanDebuffTimers.toc
@@ -2,7 +2,7 @@
 ## Title: xanDebuffTimers
 ## Notes: A small text based progress bar system for target debuffs.
 ## Author: Xruptor
-## Version: 3.0
+## Version: 3.1
 ## SavedVariablesPerCharacter: XDT_DB

 xanDebuffTimers.lua