From 8de1433ef2bd23fe0da3a56326dee9e2b78db9f1 Mon Sep 17 00:00:00 2001 From: urnati Date: Mon, 7 Aug 2023 19:19:28 -0400 Subject: [PATCH] - TitanRepair : Fix (hopefully last) for 'Desaturation' error on Repair when auto repair is set. --- Titan/Titan.toc | 4 ++-- TitanBag/TitanBag.toc | 4 ++-- TitanClock/TitanClock.toc | 4 ++-- TitanGold/TitanGold.toc | 4 ++-- TitanLocation/TitanLocation.toc | 4 ++-- TitanLootType/TitanLootType.toc | 4 ++-- TitanPerformance/TitanPerformance.toc | 4 ++-- TitanRepair/TitanRepair.lua | 16 ++++++++++------ TitanRepair/TitanRepair.toc | 4 ++-- TitanVolume/TitanVolume.toc | 4 ++-- TitanXP/TitanXP.toc | 4 ++-- 11 files changed, 30 insertions(+), 26 deletions(-) diff --git a/Titan/Titan.toc b/Titan/Titan.toc index 8be9ef0..75329d1 100644 --- a/Titan/Titan.toc +++ b/Titan/Titan.toc @@ -1,7 +1,7 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa007.01.02.100105|r ## Author: Titan Panel Development Team -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## SavedVariables: TitanAll, TitanSettings, TitanSkins, ServerTimeOffsets, ServerHourFormat ## Notes: Adds display bars on the top and/or bottom of the screen; also adds user placable Short bars. Allows users to show and control information/launcher plugins. ## X-Credits: TitanMod, Dark Imakuni, Adsertor, Titan Dev Team diff --git a/TitanBag/TitanBag.toc b/TitanBag/TitanBag.toc index bdfb001..ff35f27 100644 --- a/TitanBag/TitanBag.toc +++ b/TitanBag/TitanBag.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fBag|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fBag|r] |cff00aa007.01.02.100105|r ## Notes: Adds bag and free slot information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanBag.lua diff --git a/TitanClock/TitanClock.toc b/TitanClock/TitanClock.toc index a60df6c..2c43966 100644 --- a/TitanClock/TitanClock.toc +++ b/TitanClock/TitanClock.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fClock|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fClock|r] |cff00aa007.01.02.100105|r ## Notes: Adds a clock to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanClock.lua diff --git a/TitanGold/TitanGold.toc b/TitanGold/TitanGold.toc index 5b4dc37..3b13815 100644 --- a/TitanGold/TitanGold.toc +++ b/TitanGold/TitanGold.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fGold|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fGold|r] |cff00aa007.01.02.100105|r ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: GoldSave ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanGold.lua diff --git a/TitanLocation/TitanLocation.toc b/TitanLocation/TitanLocation.toc index eb3f46c..a3aae13 100644 --- a/TitanLocation/TitanLocation.toc +++ b/TitanLocation/TitanLocation.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa007.01.02.100105|r ## Notes: Adds coordinates and location information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanLocation.lua diff --git a/TitanLootType/TitanLootType.toc b/TitanLootType/TitanLootType.toc index a6118f6..2101333 100644 --- a/TitanLootType/TitanLootType.toc +++ b/TitanLootType/TitanLootType.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa007.01.02.100105|r ## Notes: Adds group loot and instance difficulty information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanLootType.lua diff --git a/TitanPerformance/TitanPerformance.toc b/TitanPerformance/TitanPerformance.toc index 4857ad5..2da8345 100644 --- a/TitanPerformance/TitanPerformance.toc +++ b/TitanPerformance/TitanPerformance.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa007.01.02.100105|r ## Notes: Adds FPS and Garbage collection information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanPerformance.lua diff --git a/TitanRepair/TitanRepair.lua b/TitanRepair/TitanRepair.lua index 0e5285b..a1d2dc4 100644 --- a/TitanRepair/TitanRepair.lua +++ b/TitanRepair/TitanRepair.lua @@ -423,8 +423,12 @@ end -- ************************************************************************** --]] local function TitanRepair_RepairItems() --- Jul 2023 / 10.1.5 -- Button name change MerchantRepairAllIcon > MerchantRepairAllButton --- Jul 2023 / 10.1.5 -- Button name change MerchantGuildBankRepairButtonIcon > MerchantGuildBankRepairButton +--[=[ +Jul 2023 / 10.1.5 +- Button name change MerchantRepairAllIcon > MerchantRepairAllButton +- Button name change MerchantGuildBankRepairButtonIcon > MerchantGuildBankRepairButton +Realized the Disable also changes the button so the DeSat is redundent +--]=] debug_msg("_RepairItems") -- New RepairAll function local cost = GetRepairAllCost(); @@ -450,10 +454,10 @@ local function TitanRepair_RepairItems() .." "..FROM.." "..GUILD..".") end -- disable repair all icon in merchant - SetDesaturation(MerchantRepairAllButton, 1); +-- SetDesaturation(MerchantRepairAllButton, 1); MerchantRepairAllButton:Disable(); -- disable guild bank repair all icon in merchant - SetDesaturation(MerchantGuildBankRepairButton, 1); +-- SetDesaturation(MerchantGuildBankRepairButton, 1); MerchantGuildBankRepairButton:Disable(); -- report repair cost to chat (optional) else @@ -476,10 +480,10 @@ local function TitanRepair_RepairItems() .." "..FROM.." "..YOU..".") end -- disable repair all icon in merchant - SetDesaturation(MerchantRepairAllButton, 1); +-- SetDesaturation(MerchantRepairAllButton, 1); MerchantRepairAllButton:Disable(); -- disable guild bank repair all icon in merchant - SetDesaturation(MerchantGuildBankRepairButton, 1); +-- SetDesaturation(MerchantGuildBankRepairButton, 1); MerchantGuildBankRepairButton:Disable(); else DEFAULT_CHAT_FRAME:AddMessage(_G["GREEN_FONT_COLOR_CODE"]..L["TITAN_REPAIR"]..": ".."|r"..L["TITAN_REPAIR_CANNOT_AFFORD"]) diff --git a/TitanRepair/TitanRepair.toc b/TitanRepair/TitanRepair.toc index 3776ddc..adf31af 100644 --- a/TitanRepair/TitanRepair.toc +++ b/TitanRepair/TitanRepair.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa007.01.02.100105|r ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanRepair.lua diff --git a/TitanVolume/TitanVolume.toc b/TitanVolume/TitanVolume.toc index 8f54c9c..641f6a3 100644 --- a/TitanVolume/TitanVolume.toc +++ b/TitanVolume/TitanVolume.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa007.01.02.100105|r ## Notes: Adds a volume control icon on your Titan Bar ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanVolume.lua diff --git a/TitanXP/TitanXP.toc b/TitanXP/TitanXP.toc index a154832..5b09f21 100644 --- a/TitanXP/TitanXP.toc +++ b/TitanXP/TitanXP.toc @@ -1,10 +1,10 @@ ## Interface: 100105 -## Title: Titan Panel [|cffeda55fXP|r] |cff00aa007.01.01.100105|r +## Title: Titan Panel [|cffeda55fXP|r] |cff00aa007.01.02.100105|r ## Notes: Adds information to Titan Panel about XP earned and time to level ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## Version: 7.01.01.100105 +## Version: 7.01.02.100105 ## X-Child-Of: Titan TitanXP.lua -- 1.7.9.5