mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-09 23:20:00 +00:00
cooldown: add option to draw on foreign addons
This commit is contained in:
@@ -47,7 +47,7 @@ pfUI:RegisterModule("cooldown", function ()
|
||||
-- hook
|
||||
hooksecurefunc("CooldownFrame_SetTimer", function(this, start, duration, enable)
|
||||
-- abort on unknown frames
|
||||
if not this.pfCooldownType then
|
||||
if C.appearance.cd.foreign == "0" and not this.pfCooldownType then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
@@ -740,6 +740,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(nil, this, T["Cooldown Text Font Size"], C.appearance.cd, "font_size")
|
||||
CreateConfig(nil, this, T["Display Debuff Durations"], C.appearance.cd, "debuffs", "checkbox")
|
||||
CreateConfig(nil, this, T["Enable Durations On Blizzard Frames"], C.appearance.cd, "blizzard", "checkbox")
|
||||
CreateConfig(nil, this, T["Enable Durations On Foreign Frames"], C.appearance.cd, "foreign", "checkbox")
|
||||
this.setup = true
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user