mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
debuff: add option to disable timers
This commit is contained in:
@@ -56,6 +56,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("appearance", "cd", "daycolor", ".2,.2,1,1")
|
||||
pfUI:UpdateConfig("appearance", "cd", "threshold", "2")
|
||||
pfUI:UpdateConfig("appearance", "cd", "font_size", "12")
|
||||
pfUI:UpdateConfig("appearance", "cd", "debuffs", "1")
|
||||
pfUI:UpdateConfig("appearance", "castbar", "castbarcolor", ".7,.7,.9,.8")
|
||||
pfUI:UpdateConfig("appearance", "castbar", "channelcolor", ".9,.9,.7,.8")
|
||||
pfUI:UpdateConfig("appearance", "infight", "screen", "0")
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
pfUI:RegisterModule("debuffs", function ()
|
||||
if C.appearance.cd.debuffs ~= "1" then return end
|
||||
|
||||
pfUI.debuffs = CreateFrame("Frame", "pfdebuffsScanner", UIParent)
|
||||
pfUI.debuffs.pfDebuffNameScan = CreateFrame('GameTooltip', "pfDebuffNameScan", UIParent, "GameTooltipTemplate")
|
||||
|
||||
|
||||
@@ -838,6 +838,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(this, T["Cooldown Color (Days)"], C.appearance.cd, "daycolor", "color")
|
||||
CreateConfig(this, T["Cooldown Text Threshold"], C.appearance.cd, "threshold")
|
||||
CreateConfig(this, T["Cooldown Text Font Size"], C.appearance.cd, "font_size")
|
||||
CreateConfig(this, T["Display Debuff Durations"], C.appearance.cd, "debuffs", "checkbox")
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user