Quantcast

- TitanLocation: Yet another attempt to get data to appear within the MinimapBorderTop frame properly.

HonorGoG [01-19-19 - 07:55]
- TitanLocation: Yet another attempt to get data to appear within the MinimapBorderTop frame properly.
Filename
TitanLocation/TitanLocation.lua
diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua
index 443b02e..137af5b 100755
--- a/TitanLocation/TitanLocation.lua
+++ b/TitanLocation/TitanLocation.lua
@@ -199,6 +199,10 @@ function TitanPanelLocationButton_OnEvent(self, event, ...)
 	TitanPanelLocationButton_UpdateZoneInfo(self);
 	TitanPanelPluginHandle_OnUpdate(updateTable);
 	TitanPanelLocation_HandleUpdater();
+	if TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap") and MinimapBorderTop:IsShown() then
+		if not MinimapZoneTextButton:IsShown() then MinimapZoneTextButton:Show() end
+		if not MiniMapWorldMapButton:IsShown() then MiniMapWorldMapButton:Show() end
+	end
 end

 -- function to throttle down unnecessary updates