From 4ea91747ae8ce1eeeca544b02c5c8df2af19fab0 Mon Sep 17 00:00:00 2001 From: D4KiR <23246564+d4kir92@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:24:41 +0200 Subject: [PATCH] v0.9.114 --- ImproveAny.toc | 2 +- ImproveAny_Cata.toc | 2 +- ImproveAny_TBC.toc | 2 +- ImproveAny_Vanilla.toc | 2 +- ImproveAny_Wrath.toc | 2 +- core.lua | 2 +- ele/supertrackedframe.lua | 4 ++-- settings.lua | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ImproveAny.toc b/ImproveAny.toc index 596b61e..176f851 100644 --- a/ImproveAny.toc +++ b/ImproveAny.toc @@ -4,7 +4,7 @@ ## Interface-Cata: 40400 ## Interface: 110002 -## Version: 0.9.113 +## Version: 0.9.114 ## 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 99e0efa..b91a490 100644 --- a/ImproveAny_Cata.toc +++ b/ImproveAny_Cata.toc @@ -1,5 +1,5 @@ ## Interface: 40400 -## Version: 0.9.113 +## Version: 0.9.114 ## 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 8ed3260..7503e04 100644 --- a/ImproveAny_TBC.toc +++ b/ImproveAny_TBC.toc @@ -1,5 +1,5 @@ ## Interface: 20504 -## Version: 0.9.113 +## Version: 0.9.114 ## 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 661080d..02a73fd 100644 --- a/ImproveAny_Vanilla.toc +++ b/ImproveAny_Vanilla.toc @@ -1,5 +1,5 @@ ## Interface: 11504 -## Version: 0.9.113 +## Version: 0.9.114 ## 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 0ba1735..a3e5a20 100644 --- a/ImproveAny_Wrath.toc +++ b/ImproveAny_Wrath.toc @@ -1,5 +1,5 @@ ## Interface: 30403 -## Version: 0.9.113 +## Version: 0.9.114 ## 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 da91d12..656207e 100644 --- a/core.lua +++ b/core.lua @@ -265,7 +265,7 @@ function ImproveAny:Event(event, ...) ["icon"] = 136033, ["var"] = mmbtn, ["dbtab"] = IATAB, - ["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.113"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}}, + ["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.114"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}}, ["funcL"] = function() ImproveAny:ToggleSettings() end, diff --git a/ele/supertrackedframe.lua b/ele/supertrackedframe.lua index 69d8791..a6ac0e8 100644 --- a/ele/supertrackedframe.lua +++ b/ele/supertrackedframe.lua @@ -67,7 +67,7 @@ function ImproveAny:InitSuperTrackedFrame() distPerSec = floor(distPerSec) if distPerSec ~= 0 then distPerSec = ImproveAny:Lerp(lastDistPerSec, distPerSec, 0.3) - timeToTarget = distance / distPerSec + timeToTarget = distance / distPerSec * 5 else timeToTarget = 0 end @@ -93,7 +93,7 @@ function ImproveAny:InitSuperTrackedFrame() lastDistPerSec = distPerSec lastDist = distance ImproveAny:Debug("supertrackedframe.lua: ThinkSTF " .. distance, "think") - C_Timer.After(0.1, ImproveAny.ThinkSTF) + C_Timer.After(0.5, ImproveAny.ThinkSTF) end ImproveAny:ThinkSTF() diff --git a/settings.lua b/settings.lua index 51b2da3..b438d08 100644 --- a/settings.lua +++ b/settings.lua @@ -441,8 +441,8 @@ function ImproveAny:InitIASettings() IASettings:Hide() end - ImproveAny:SetVersion(AddonName, 136033, "0.9.113") - IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.113")) + ImproveAny:SetVersion(AddonName, 136033, "0.9.114") + IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.114")) IASettings.CloseButton:SetScript( "OnClick", function()