From 31d19c7fa79099f44ea28bddaf0453cc5768a033 Mon Sep 17 00:00:00 2001 From: moonwitch Date: Sun, 4 Jan 2015 16:34:11 +0100 Subject: [PATCH] adding zone text again (wrong parenting) --- core.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core.lua b/core.lua index 4882889..2f50e02 100755 --- a/core.lua +++ b/core.lua @@ -112,12 +112,12 @@ function LookInTehCorner:PLAYER_LOGIN(...) GarrisonLandingPageMinimapButton:SetSize(32, 32) -- Minimap zone text stuff. - if (showZoneText == true) then + if (showZoneText) then + MinimapZoneText:SetParent(Minimap) MinimapZoneText:SetDrawLayer"OVERLAY" MinimapZoneText:ClearAllPoints() - MinimapZoneText:SetPoint("LEFT", Minimap, 5, 0) - MinimapZoneText:SetPoint("RIGHT", Minimap, -5, 0) - MinimapZoneText:SetPoint("TOP", Minimap, "TOP", 0, -1) + MinimapZoneText:SetPoint("TOPLEFT", Minimap, 5, 0) + MinimapZoneText:SetPoint("TOPRIGHT", Minimap, -5, 0) MinimapZoneText:SetFont(font, 10) MinimapZoneText:SetJustifyH("CENTER") else -- 1.7.9.5