module: add option to disable pfUI-UnitFrames

This commit is contained in:
shagu
2016-11-13 15:02:13 +01:00
parent 00b7941de7
commit 0dac5bc1e0
9 changed files with 116 additions and 83 deletions
+3
View File
@@ -1,4 +1,7 @@
pfUI:RegisterModule("uf_tukui", function ()
-- do not go further on disabled UFs
if pfUI_config.unitframes.disable == "1" then return end
if pfUI_config.unitframes.layout == "tukui" then
pfUI.uf.player.caption = CreateFrame("Frame",nil, pfUI.uf.player)
pfUI.uf.player.caption:SetBackdrop(pfUI.backdrop)