Skip to content

Commit

Permalink
TOC bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Jan 17, 2024
1 parent 07da8b6 commit bc814c5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REPorter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ RE.BlinkPOIValue = 0.3
RE.BlinkPOIUp = true

RE.FoundNewVersion = false
RE.AddonVersionCheck = 21000
RE.AddonVersionCheck = 21001
RE.ScreenHeight, RE.ScreenWidth = _G.UIParent:GetCenter()

RE.MapSettings = {
Expand Down
4 changes: 2 additions & 2 deletions REPorter.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 100200
## Interface: 100205
## Title: |cFF74D06CRE|rPorter
## Notes: Provide battleground map.
## Version: 2.10.0
## Version: 2.10.1
## Author: AcidWeb
## SavedVariables: REPorterSettings
## IconTexture: Interface\AddOns\REPorter\RELogo
Expand Down
30 changes: 30 additions & 0 deletions TaintLess.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,34 @@ patch("OBJTRACK_DELAYUPDATE_PATCH_VERSION", 5, function(V)
end)
end)
-- https://www.townlong-yak.com/addons/taintless/fixes/CUFProfilesSetSelectedValue
patch("CUF_PROFILE_ACTIVATE_PATCH_VERSION", 1, function(V)
if not (type(SetActiveRaidProfile) == "function" and type(CompactUnitFrameProfiles) == "table" and
type(ScriptErrorsFrameMixin) == "table" and type(ScriptErrorsFrameMixin.DisplayMessageInternal) == "function") then
return
end
local o, dd = {}, CreateFrame("Frame") do
local s, sk, sv = 1, {"seen", "order", "order", "count"}, {{}, {}, newproxy(true), _G}
getmetatable(sv[3]).__len = function()
return "UIDROPDOWNMENU_MENU_LEVEL"
end
setmetatable(o, {__index=function(t,k)
s, sv[2][1] = k == sk[s] and s+1 or 1
return sv[s-1]
end})
function dd.initialize() end
dd:Hide()
end
hooksecurefunc("SetActiveRaidProfile", function()
if CUF_PROFILE_ACTIVATE_PATCH_VERSION ~= V or
(issecurevariable("UIDROPDOWNMENU_MENU_LEVEL") and issecurevariable(DropDownList1, "numButtons")) then
return
end
pcall(UIDropDownMenu_InitializeHelper, dd)
purgeKey(_G, "UIDROPDOWNMENU_OPEN_MENU")
purgeKey(_G, "UIDROPDOWNMENU_INIT_MENU")
pcall(ScriptErrorsFrameMixin.DisplayMessageInternal, o, "", 0, 0, 0, "")
end)
end)
]]></Script></Ui>

0 comments on commit bc814c5

Please sign in to comment.