From 0005663271eab4815d22517e4bc3905befa8683c Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Thu, 10 Jan 2019 18:58:22 -0800 Subject: [PATCH] - TitanLocation: Finally fixed the LocOnMiniMap error that has been plaguing us since July. --- Titan/Titan.toc | 4 ++-- TitanBag/TitanBag.toc | 4 ++-- TitanClock/TitanClock.toc | 4 ++-- TitanGold/TitanGold.toc | 4 ++-- TitanLocation/TitanLocation.lua | 12 +++++------- TitanLocation/TitanLocation.toc | 4 ++-- TitanLootType/TitanLootType.toc | 4 ++-- TitanPerformance/TitanPerformance.toc | 4 ++-- TitanRepair/TitanRepair.toc | 4 ++-- TitanVolume/TitanVolume.toc | 4 ++-- TitanXP/TitanXP.toc | 4 ++-- 11 files changed, 25 insertions(+), 27 deletions(-) diff --git a/Titan/Titan.toc b/Titan/Titan.toc index 33a7f76..3b85f16 100644 --- a/Titan/Titan.toc +++ b/Titan/Titan.toc @@ -1,7 +1,7 @@ ## Interface: 80100 -## Title: Titan Panel |cff00aa005.16.0.80100|r +## Title: Titan Panel |cff00aa005.16.1.80100|r ## Author: Titan Development Team -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## SavedVariables: TitanAll, TitanSettings, TitanSkins, ServerTimeOffsets, ServerHourFormat ## OptionalDeps: Ace3, AceGUI-3.0-SharedMediaWidgets, LibSharedMedia-3.0, LibQTip-1.0, !LibUIDropDownMenu ## Notes: Adds a display bar on the top and/or bottom of the screen. Allows users to show and control information/launcher plugins. diff --git a/TitanBag/TitanBag.toc b/TitanBag/TitanBag.toc index b10d32f..1402ad7 100644 --- a/TitanBag/TitanBag.toc +++ b/TitanBag/TitanBag.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fBag|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fBag|r] |cff00aa005.16.1.80100|r ## Notes: Adds bag and free slot information to Titan Panel ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanBag.xml diff --git a/TitanClock/TitanClock.toc b/TitanClock/TitanClock.toc index 91ba6d8..0683965 100644 --- a/TitanClock/TitanClock.toc +++ b/TitanClock/TitanClock.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fClock|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fClock|r] |cff00aa005.16.1.80100|r ## Notes: Adds a clock to Titan Panel ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanClock.xml diff --git a/TitanGold/TitanGold.toc b/TitanGold/TitanGold.toc index 7265fbd..844b4c4 100644 --- a/TitanGold/TitanGold.toc +++ b/TitanGold/TitanGold.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fGold|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fGold|r] |cff00aa005.16.1.80100|r ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: GoldSave ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanGold.xml diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua index 3421454..6fba81e 100755 --- a/TitanLocation/TitanLocation.lua +++ b/TitanLocation/TitanLocation.lua @@ -9,12 +9,12 @@ local _G = getfenv(0); local TITAN_LOCATION_ID = "Location"; local OFFSET_X = 0.0022 -- 0.0022; local OFFSET_Y = -0.0262 -- -0.0262; -local cachedX = 0 -local cachedY = 0 +local cachedX = 0; +local cachedY = 0; local updateTable = {TITAN_LOCATION_ID, TITAN_PANEL_UPDATE_BUTTON}; -- ******************************** Variables ******************************* -local L = LibStub("AceLocale-3.0"):GetLocale("Titan", true) -local AceTimer = LibStub("AceTimer-3.0") +local L = LibStub("AceLocale-3.0"):GetLocale("Titan", true); +local AceTimer = LibStub("AceTimer-3.0"); local LocationTimer = nil; -- ******************************** Functions ******************************* @@ -186,9 +186,7 @@ end -- ************************************************************************** function TitanPanelLocationButton_OnEvent(self, event, ...) if event == "PLAYER_ENTERING_WORLD" then - if TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap") and MinimapBorderTop and MinimapBorderTop:IsShown() then - TitanPanelLocationButton_LocOnMiniMap() - end + TitanPanelLocationButton_LocOnMiniMap() end if TitanGetVar(TITAN_LOCATION_ID, "UpdateWorldmap") then local mapID = C_Map.GetBestMapForUnit("player") diff --git a/TitanLocation/TitanLocation.toc b/TitanLocation/TitanLocation.toc index a28dbe9..fbeb364 100644 --- a/TitanLocation/TitanLocation.toc +++ b/TitanLocation/TitanLocation.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa005.16.1.80100|r ## Notes: Adds coordinates and location information to Titan Panel ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanLocation.xml diff --git a/TitanLootType/TitanLootType.toc b/TitanLootType/TitanLootType.toc index 106b447..c6bab0f 100644 --- a/TitanLootType/TitanLootType.toc +++ b/TitanLootType/TitanLootType.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa005.16.1.80100|r ## Notes: Adds group loot and instance difficulty information to Titan Panel ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanLootType.xml diff --git a/TitanPerformance/TitanPerformance.toc b/TitanPerformance/TitanPerformance.toc index 28b987b..65b03ed 100644 --- a/TitanPerformance/TitanPerformance.toc +++ b/TitanPerformance/TitanPerformance.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa005.16.1.80100|r ## Notes: Adds FPS and Garbage collection information to Titan Panel ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanPerformance.xml diff --git a/TitanRepair/TitanRepair.toc b/TitanRepair/TitanRepair.toc index 0c22f8a..ca29e3f 100644 --- a/TitanRepair/TitanRepair.toc +++ b/TitanRepair/TitanRepair.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa005.16.1.80100|r ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanRepair.xml diff --git a/TitanVolume/TitanVolume.toc b/TitanVolume/TitanVolume.toc index 0830d4c..43db1fb 100644 --- a/TitanVolume/TitanVolume.toc +++ b/TitanVolume/TitanVolume.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa005.16.1.80100|r ## Notes: Adds a volume control icon on your Titan Bar ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanVolume.xml diff --git a/TitanXP/TitanXP.toc b/TitanXP/TitanXP.toc index ed61c26..24243df 100644 --- a/TitanXP/TitanXP.toc +++ b/TitanXP/TitanXP.toc @@ -1,10 +1,10 @@ ## Interface: 80100 -## Title: Titan Panel [|cffeda55fXP|r] |cff00aa005.16.0.80100|r +## Title: Titan Panel [|cffeda55fXP|r] |cff00aa005.16.1.80100|r ## Notes: Adds information to Titan Panel about XP earned and time to level ## Author: Titan Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 5.16.0.80100 +## Version: 5.16.1.80100 ## X-Child-Of: Titan TitanXP.xml -- 1.7.9.5