From 0ab9c6cff0497f9ff355d4b029f840afa92fea48 Mon Sep 17 00:00:00 2001 From: Sandor Takacs Date: Tue, 11 Feb 2014 22:40:45 +0100 Subject: [PATCH] Fix the glowing newitem bug --- MyBagsCore/MyBags.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MyBagsCore/MyBags.lua b/MyBagsCore/MyBags.lua index 08dc3df..6fa219a 100644 --- a/MyBagsCore/MyBags.lua +++ b/MyBagsCore/MyBags.lua @@ -1,5 +1,5 @@ local MBC = "MyBagsCore-1.0" -local MBC_MINOR = "2014.02.10.1" +local MBC_MINOR = "2014.02.11.3" if not LibStub then error(MBC .. " requires LibStub.") end local MyBagsCore = LibStub:NewLibrary(MBC, MBC_MINOR) if not MyBagsCore then return end @@ -1239,6 +1239,8 @@ function MyBagsCore:LayoutBagFrame(bagFrame) self.curCol = 0 self.curRow = self.curRow + 1 end + local newItemTexture = _G[itemBase .. slot .. "NewItemTexture"] + newItemTexture:Hide() itemButton:Show() itemButton:ClearAllPoints() itemButton:SetPoint("TOPLEFT", self.frame:GetName(), "TOPLEFT", self:GetXY(self.curRow, self.curCol))