From b83b8ba1d638bf0e7b969c12688cdc7547a0bae7 Mon Sep 17 00:00:00 2001 From: Mikeprod Date: Sat, 25 Feb 2017 19:41:14 +0100 Subject: [PATCH] quickfix hearthstone ? --- modules/travel.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/travel.lua b/modules/travel.lua index b2fa21e..457dfbd 100644 --- a/modules/travel.lua +++ b/modules/travel.lua @@ -49,15 +49,15 @@ function TravelModule:OnDisable() end function TravelModule:CreateFrames() - self.hearthButton = self.hearthButton or CreateFrame('BUTTON', nil, self.hearthFrame, "SecureActionButtonTemplate") + self.hearthButton = self.hearthButton or CreateFrame('BUTTON', "hearthButton", self.hearthFrame, "SecureActionButtonTemplate") self.hearthIcon = self.hearthIcon or self.hearthButton:CreateTexture(nil, 'OVERLAY') self.hearthText = self.hearthText or self.hearthButton:CreateFontString(nil, 'OVERLAY') - self.portButton = self.portButton or CreateFrame('BUTTON', nil, self.hearthFrame, "SecureActionButtonTemplate") + self.portButton = self.portButton or CreateFrame('BUTTON', "portButton", self.hearthFrame, "SecureActionButtonTemplate") self.portIcon = self.portIcon or self.portButton:CreateTexture(nil, 'OVERLAY') self.portText = self.portText or self.portButton:CreateFontString(nil, 'OVERLAY') - self.portPopup = self.portPopup or CreateFrame('BUTTON', nil, self.portButton) + self.portPopup = self.portPopup or CreateFrame('BUTTON', "portPopup", self.portButton) self.popupTexture = self.popupTexture or self.portPopup:CreateTexture(nil, 'BACKGROUND') end @@ -436,6 +436,7 @@ function TravelModule:Refresh() end self.hearthFrame:SetSize(totalWidth, xb:GetHeight()) self.hearthFrame:SetPoint("RIGHT", -(db.general.barPadding), 0) + self.hearthFrame:Show() end function TravelModule:FindFirstOption() -- 1.7.9.5