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