Quantcast

-slight fix for positioning on first time users

Xruptor [04-06-12 - 18:15]
-slight fix for positioning on first time users
Filename
XanBuffTimers.lua
XanBuffTimers.toc
diff --git a/XanBuffTimers.lua b/XanBuffTimers.lua
index ef5e37c..ab2fd16 100644
--- a/XanBuffTimers.lua
+++ b/XanBuffTimers.lua
@@ -584,7 +584,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/XanBuffTimers.toc b/XanBuffTimers.toc
index bb46681..677706f 100644
--- a/XanBuffTimers.toc
+++ b/XanBuffTimers.toc
@@ -2,7 +2,7 @@
 ## Title: xanBuffTimers
 ## Notes: A small text based progress bar system for target buffs.
 ## Author: Xruptor
-## Version: 2.1
+## Version: 2.2
 ## SavedVariablesPerCharacter: XBT_DB

 xanBuffTimers.lua