mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 11:30:48 +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", ""
|
unit, id = "target", ""
|
||||||
end
|
end
|
||||||
|
|
||||||
local f = CreateFrame("Button", "pf" .. fname, UIParent, UNITFRAME_SECURE_TEMPLATE)
|
local f = CreateFrame("Button", "pf" .. fname, UIParent)
|
||||||
|
|
||||||
-- add unitframe functions
|
-- add unitframe functions
|
||||||
f.UpdateFrameSize = pfUI.uf.UpdateFrameSize
|
f.UpdateFrameSize = pfUI.uf.UpdateFrameSize
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ PLAYER_BUFF_START_ID = -1
|
|||||||
|
|
||||||
ACTIONBAR_SECURE_TEMPLATE_BAR = nil
|
ACTIONBAR_SECURE_TEMPLATE_BAR = nil
|
||||||
ACTIONBAR_SECURE_TEMPLATE_BUTTON = nil
|
ACTIONBAR_SECURE_TEMPLATE_BUTTON = nil
|
||||||
UNITFRAME_SECURE_TEMPLATE = nil
|
|
||||||
|
|
||||||
--[[ Vanilla API Extensions ]]--
|
--[[ Vanilla API Extensions ]]--
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user