mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-12 16:40:00 +00:00
module: add option to disable pfUI-UnitFrames
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
pfUI:RegisterModule("targettarget", function ()
|
||||
-- do not go further on disabled UFs
|
||||
if pfUI_config.unitframes.disable == "1" then return end
|
||||
|
||||
pfUI.uf.targettargetNotify = CreateFrame("Button",nil,UIParent)
|
||||
pfUI.uf.targettargetNotify:SetScript("OnUpdate", function()
|
||||
if UnitExists("targettarget") or (pfUI.gitter and pfUI.gitter:IsShown()) then
|
||||
|
||||
Reference in New Issue
Block a user