From ca0eb668a0d7a1f3e8566b4522ee211297c280a1 Mon Sep 17 00:00:00 2001 From: D4KiR <23246564+d4kir92@users.noreply.github.com> Date: Wed, 9 Oct 2024 22:30:34 +0200 Subject: [PATCH] v0.9.110 --- ImproveAny.toc | 2 +- ImproveAny_Cata.toc | 2 +- ImproveAny_TBC.toc | 2 +- ImproveAny_Vanilla.toc | 2 +- ImproveAny_Wrath.toc | 2 +- core.lua | 2 +- ele/combattext.lua | 9 --------- ele/xpbar.lua | 3 ++- settings.lua | 4 ++-- 9 files changed, 10 insertions(+), 18 deletions(-) diff --git a/ImproveAny.toc b/ImproveAny.toc index 8ea3a7f..1b9d947 100644 --- a/ImproveAny.toc +++ b/ImproveAny.toc @@ -4,7 +4,7 @@ ## Interface-Cata: 40400 ## Interface: 110002 -## Version: 0.9.109 +## Version: 0.9.110 ## Title: ImproveAny by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/ImproveAny_Cata.toc b/ImproveAny_Cata.toc index 6e84812..88e647f 100644 --- a/ImproveAny_Cata.toc +++ b/ImproveAny_Cata.toc @@ -1,5 +1,5 @@ ## Interface: 40400 -## Version: 0.9.109 +## Version: 0.9.110 ## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/ImproveAny_TBC.toc b/ImproveAny_TBC.toc index 7401e3c..0ba6516 100644 --- a/ImproveAny_TBC.toc +++ b/ImproveAny_TBC.toc @@ -1,5 +1,5 @@ ## Interface: 20504 -## Version: 0.9.109 +## Version: 0.9.110 ## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/ImproveAny_Vanilla.toc b/ImproveAny_Vanilla.toc index 747c89b..e41c686 100644 --- a/ImproveAny_Vanilla.toc +++ b/ImproveAny_Vanilla.toc @@ -1,5 +1,5 @@ ## Interface: 11504 -## Version: 0.9.109 +## Version: 0.9.110 ## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/ImproveAny_Wrath.toc b/ImproveAny_Wrath.toc index 3b17643..53fcba5 100644 --- a/ImproveAny_Wrath.toc +++ b/ImproveAny_Wrath.toc @@ -1,5 +1,5 @@ ## Interface: 30403 -## Version: 0.9.109 +## Version: 0.9.110 ## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/core.lua b/core.lua index 87aded4..2520c50 100644 --- a/core.lua +++ b/core.lua @@ -268,7 +268,7 @@ function ImproveAny:Event(event, ...) ["icon"] = 136033, ["var"] = mmbtn, ["dbtab"] = IATAB, - ["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.109"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}}, + ["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.110"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}}, ["funcL"] = function() ImproveAny:ToggleSettings() end, diff --git a/ele/combattext.lua b/ele/combattext.lua index 7dbb8b8..ce8a5de 100644 --- a/ele/combattext.lua +++ b/ele/combattext.lua @@ -1,16 +1,7 @@ local _, ImproveAny = ... local IATabTalents = {} -local setup = true function ImproveAny:UpdateCombatTextPos() if ImproveAny.Setup and ImproveAny:IsEnabled("COMBATTEXTPOSITION", false) and COMBAT_TEXT_LOCATIONS then - if setup then - setup = false - osx = COMBAT_TEXT_LOCATIONS.startX - osy = COMBAT_TEXT_LOCATIONS.startY - oex = COMBAT_TEXT_LOCATIONS.endX - oey = COMBAT_TEXT_LOCATIONS.endY - end - local x = ImproveAny:IAGV("COMBATTEXTX", 0) local y = ImproveAny:IAGV("COMBATTEXTY", 0) if x ~= 0 or y ~= 0 then diff --git a/ele/xpbar.lua b/ele/xpbar.lua index 9bfab75..c9de536 100644 --- a/ele/xpbar.lua +++ b/ele/xpbar.lua @@ -175,6 +175,7 @@ function ImproveAny:UpdateQuestFrame() if questTag then QuestLogDummyText:SetText(" " .. questLogTitleText) local tempWidth = 274 + local textWidth = 0 if questTitleTag then tempWidth = 274 - questTitleTag:GetWidth() end @@ -185,7 +186,7 @@ function ImproveAny:UpdateQuestFrame() textWidth = QuestLogDummyText:GetWidth() end - questNormalText:SetWidth(tempWidth) + questNormalText:SetWidth(textWidth) else if questNormalText:GetWidth() > 274 then questNormalText:SetWidth(260) diff --git a/settings.lua b/settings.lua index cc92d14..17d9ed4 100644 --- a/settings.lua +++ b/settings.lua @@ -441,8 +441,8 @@ function ImproveAny:InitIASettings() IASettings:Hide() end - ImproveAny:SetVersion(AddonName, 136033, "0.9.109") - IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.109")) + ImproveAny:SetVersion(AddonName, 136033, "0.9.110") + IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.110")) IASettings.CloseButton:SetScript( "OnClick", function()