mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
UNITFRAME_SECURE_TEMPLATE is always nil in vanilla
This commit is contained in:
+1
-1
@@ -1296,7 +1296,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick)
|
||||
unit, id = "target", ""
|
||||
end
|
||||
|
||||
local f = CreateFrame("Button", "pf" .. fname, UIParent, UNITFRAME_SECURE_TEMPLATE)
|
||||
local f = CreateFrame("Button", "pf" .. fname, UIParent)
|
||||
|
||||
-- add unitframe functions
|
||||
f.UpdateFrameSize = pfUI.uf.UpdateFrameSize
|
||||
|
||||
@@ -25,7 +25,6 @@ PLAYER_BUFF_START_ID = -1
|
||||
|
||||
ACTIONBAR_SECURE_TEMPLATE_BAR = nil
|
||||
ACTIONBAR_SECURE_TEMPLATE_BUTTON = nil
|
||||
UNITFRAME_SECURE_TEMPLATE = nil
|
||||
|
||||
--[[ Vanilla API Extensions ]]--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user