From 956bfbf152aaa7088d205f3b4c14cca3f384fe70 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Fri, 6 Apr 2012 14:16:04 -0400 Subject: [PATCH] -slight fix for positioning on first time users --- XanDebuffTimers.lua | 2 +- XanDebuffTimers.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.9.5