mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
gui: dispel type instant update on config change
This commit is contained in:
@@ -321,6 +321,8 @@ function pfUI.uf:UpdateConfig()
|
||||
relative_point = "BOTTOMRIGHT"
|
||||
end
|
||||
|
||||
f.dispellable = nil
|
||||
|
||||
f.alpha_visible = tonumber(f.config.alpha_visible)
|
||||
f.alpha_outrange = tonumber(f.config.alpha_outrange)
|
||||
f.alpha_offline = tonumber(f.config.alpha_offline)
|
||||
|
||||
+1
-1
@@ -1642,7 +1642,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
||||
|
||||
CreateConfig(U[c], T["Dispel Indicators"], nil, nil, "header")
|
||||
CreateConfig(U[c], T["Show Dispel Indicators"], C.unitframes[c], "debuff_indicator", "dropdown", pfUI.gui.dropdowns.uf_debuff_indicator)
|
||||
CreateConfig(nil, T["Only Class Dispellable"], C.unitframes[c], "debuff_ind_class", "checkbox")
|
||||
CreateConfig(U[c], T["Only Class Dispellable"], C.unitframes[c], "debuff_ind_class", "checkbox")
|
||||
CreateConfig(U[c], T["Indicator Position"], C.unitframes[c], "debuff_ind_pos", "dropdown", pfUI.gui.dropdowns.positions)
|
||||
CreateConfig(U[c], T["Indicator Size"], C.unitframes[c], "debuff_ind_size", "dropdown", pfUI.gui.dropdowns.uf_debuff_indicator_size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user