fix
Steven Jackson [10-12-14 - 01:41]
diff --git a/Interface/AddOns/SVUI/packages/bag/SVBag.lua b/Interface/AddOns/SVUI/packages/bag/SVBag.lua
index 40c6d0d..4a71d77 100644
--- a/Interface/AddOns/SVUI/packages/bag/SVBag.lua
+++ b/Interface/AddOns/SVUI/packages/bag/SVBag.lua
@@ -1669,7 +1669,9 @@ function MOD:BANKFRAME_CLOSED()
end
function MOD:PLAYERBANKBAGSLOTS_CHANGED()
- self.BankFrame:UpdateLayout()
+ if(self.BankFrame and self.BankFrame:IsShown()) then
+ self.BankFrame:UpdateLayout()
+ end
end
function MOD:PLAYER_ENTERING_WORLD()
diff --git a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/petbattle.lua b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/petbattle.lua
index 0a63460..d0bfb87 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/petbattle.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/petbattle.lua
@@ -222,8 +222,8 @@ local function PetBattleStyle()
frame.IconBackdrop = CreateFrame("Frame", nil, frame)
frame.IconBackdrop:SetFrameLevel(0)
- frame.IconBackdrop:WrapOuter(frame.Icon, 2, 2)
- frame.IconBackdrop:SetSlotTemplate(true, 2, 0, 0, true);
+ frame.IconBackdrop:SetAllPoints(frame.Icon)
+ frame.IconBackdrop:SetSlotTemplate(true, 1, 0, 0, true);
frame.IconBackdrop.Panel:SetFixedPanelTemplate("Blackout")
@@ -302,15 +302,15 @@ local function PetBattleStyle()
frame.IconBackdrop = CreateFrame("Frame", nil, frame)
frame.IconBackdrop:SetFrameLevel(0)
- frame.IconBackdrop:WrapOuter(frame, 2, 2)
- frame.IconBackdrop:SetSlotTemplate(true, 2, 0, 0, true);
+ frame.IconBackdrop:SetAllPoints(frame)
+ frame.IconBackdrop:SetSlotTemplate(true, 1, 0, 0, true);
frame.IconBackdrop.Panel:SetFixedPanelTemplate("Blackout")
frame:ClearAllPoints()
frame.healthBarWidth = 40;
frame.ActualHealthBar:ClearAllPoints()
- frame.ActualHealthBar:SetPoint("TOPLEFT", frame.IconBackdrop, 'BOTTOMLEFT', 2, -3)
+ frame.ActualHealthBar:SetPoint("TOPLEFT", frame.IconBackdrop, 'BOTTOMLEFT', 0, -6)
frame.ActualHealthBar:SetTexture([[Interface\AddOns\SVUI\assets\artwork\Bars\DEFAULT]])
frame.HealthBarBackdrop = CreateFrame("Frame", nil, frame)
frame.HealthBarBackdrop:SetFrameLevel(frame:GetFrameLevel()-1)