unitframes: add clique support to all frames

This commit is contained in:
shagu
2020-10-03 19:21:37 +02:00
parent 282989eeff
commit fa966b9930
+4
View File
@@ -1093,6 +1093,10 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick)
f:Hide()
end
-- register frame for clique
_G.ClickCastFrames = ClickCastFrames or {}
ClickCastFrames[f] = true
table.insert(pfUI.uf.frames, f)
return f
end