From c78881c78a0a89e2b6be1c663ba405bd5b7b3363 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 5 Oct 2012 10:06:19 +0200 Subject: [PATCH] Update LibJostle --- Libs/LibJostle-3.0.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Libs/LibJostle-3.0.lua b/Libs/LibJostle-3.0.lua index bdf465b..431c4a3 100644 --- a/Libs/LibJostle-3.0.lua +++ b/Libs/LibJostle-3.0.lua @@ -1,6 +1,6 @@ --[[ Name: LibJostle-3.0 -Revision: $Rev: 52 $ +Revision: $Rev: 57 $ Author(s): ckknight (ckknight@gmail.com) Website: http://ckknight.wowinterface.com/ Documentation: http://www.wowace.com/addons/libjostle-3-0/ @@ -10,7 +10,7 @@ License: LGPL v2.1 --]] local MAJOR_VERSION = "LibJostle-3.0" -local MINOR_VERSION = tonumber(("$Revision: 52 $"):match("(%d+)")) + 90000 +local MINOR_VERSION = tonumber(("$Revision: 57 $"):match("(%d+)")) + 90000 if not LibStub then error(MAJOR_VERSION .. " requires LibStub") end @@ -427,8 +427,8 @@ function Jostle:Refresh(...) offset = offset - TicketStatusFrame:GetHeight() * TicketStatusFrame:GetScale() elseif frame == DEFAULT_CHAT_FRAME then y = MainMenuBar:GetHeight() * MainMenuBar:GetScale() + 32 - if PetActionBarFrame:IsShown() or ShapeshiftBarFrame:IsShown() then - offset = offset + ShapeshiftBarFrame:GetHeight() * ShapeshiftBarFrame:GetScale() + if StanceBarFrame and (PetActionBarFrame:IsShown() or StanceBarFrame:IsShown()) then + offset = offset + StanceBarFrame:GetHeight() * StanceBarFrame:GetScale() end if MultiBarBottomLeft:IsShown() then offset = offset + MultiBarBottomLeft:GetHeight() * MultiBarBottomLeft:GetScale() - 21 @@ -440,8 +440,8 @@ function Jostle:Refresh(...) end elseif frame == CastingBarFrame then y = MainMenuBar:GetHeight() * MainMenuBar:GetScale() + 17 - if PetActionBarFrame:IsShown() or ShapeshiftBarFrame:IsShown() then - offset = offset + ShapeshiftBarFrame:GetHeight() * ShapeshiftBarFrame:GetScale() + if StanceBarFrame and (PetActionBarFrame:IsShown() or StanceBarFrame:IsShown()) then + offset = offset + StanceBarFrame:GetHeight() * StanceBarFrame:GetScale() end if MultiBarBottomLeft:IsShown() or MultiBarBottomRight:IsShown() then offset = offset + MultiBarBottomLeft:GetHeight() * MultiBarBottomLeft:GetScale() -- 1.7.9.5