mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
thirdparty: disable breaking MacroExtender functions
This commit is contained in:
@@ -1089,7 +1089,28 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
|
||||
HookAddonOrVariable("MoveAnything", function()
|
||||
SkinButton(GameMenuButtonMoveAnything)
|
||||
end)
|
||||
|
||||
HookAddonOrVariable("MCP", function()
|
||||
SkinButton(GameMenuButtonAddOns)
|
||||
end)
|
||||
|
||||
HookAddonOrVariable("MacroExtender", function()
|
||||
-- Macro Extender moves the character dialog from frame-stata "dialog"
|
||||
-- to "low" and by that moves the frame below backgrounds, quest-trackers,
|
||||
-- and what not... it does this because the buttons it attempts to add, are
|
||||
-- added to the wrong parent frames. (This also causes them to stay visible on
|
||||
-- other pages of the paperdoll frame aswell)
|
||||
--
|
||||
-- Using its own global variables and settings to disable that "feature",
|
||||
-- because it only attempts to add rarity borders which pfUI already does.
|
||||
|
||||
-- make sure strata won't get touched again
|
||||
PaperDollHook = function() return end
|
||||
|
||||
-- restore original frame strata
|
||||
PaperDollFrame:SetFrameStrata("DIALOG")
|
||||
|
||||
-- disable macro extenders setting
|
||||
MacroExtender_Options.Inventory = nil
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user