mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
core: only hide errors in ui errors frame
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("global", nil, "force_region", "1")
|
||||
pfUI:UpdateConfig("global", nil, "errors", "1")
|
||||
pfUI:UpdateConfig("global", nil, "errors_limit", "1")
|
||||
pfUI:UpdateConfig("global", nil, "errors_hide", "0")
|
||||
pfUI:UpdateConfig("global", nil, "errors_hide", "1")
|
||||
pfUI:UpdateConfig("global", nil, "hidebuff", "0")
|
||||
pfUI:UpdateConfig("global", nil, "hidewbuff", "0")
|
||||
pfUI:UpdateConfig("global", nil, "twentyfour", "1")
|
||||
|
||||
+2
-2
@@ -1405,8 +1405,8 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
||||
CreateConfig(U["pixelperfect"], T["Enable UI-Scale"], C.global, "pixelperfect", "dropdown", pfUI.gui.dropdowns.scaling)
|
||||
CreateConfig(nil, T["Enable Offscreen Frame Positions"], C.global, "offscreen", "checkbox")
|
||||
CreateConfig(nil, T["Display Addon Errors In Chat"], C.global, "errors", "checkbox")
|
||||
CreateConfig(nil, T["Enable Single Line UIErrors"], C.global, "errors_limit", "checkbox")
|
||||
CreateConfig(nil, T["Disable All UIErrors"], C.global, "errors_hide", "checkbox")
|
||||
CreateConfig(nil, T["Use Single Line UIErrors Frame"], C.global, "errors_limit", "checkbox")
|
||||
CreateConfig(nil, T["Disable Errors in UIErrors Frame"], C.global, "errors_hide", "checkbox")
|
||||
CreateConfig(nil, T["Highlight Settings That Require Reload"], C.gui, "reloadmarker", "checkbox")
|
||||
CreateConfig(nil, T["Show Incompatible Config Entries"], C.gui, "showdisabled", "checkbox")
|
||||
CreateConfig(nil, T["Abbreviate Numbers (4200 -> 4.2k)"], C.unitframes, "abbrevnum", "checkbox")
|
||||
|
||||
+3
-1
@@ -69,6 +69,8 @@ pfUI:RegisterModule("skin", "vanilla:tbc", function ()
|
||||
end
|
||||
|
||||
if C.global.errors_hide == "1" then
|
||||
UIErrorsFrame:Hide()
|
||||
UIErrorsFrame:UnregisterEvent("UI_ERROR_MESSAGE")
|
||||
else
|
||||
UIErrorsFrame:RegisterEvent("UI_ERROR_MESSAGE")
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user