mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
gui: set fallback color values for broken configs
This commit is contained in:
@@ -416,6 +416,9 @@ pfUI:RegisterModule("gui", function ()
|
||||
|
||||
frame.color:SetScript("OnClick", function()
|
||||
local cr, cg, cb, ca = strsplit(",", category[config])
|
||||
if not cr or not cg or not cb or not ca then
|
||||
cr, cg, cb, ca = 1, 1, 1, 1
|
||||
end
|
||||
local preview = this.prev
|
||||
|
||||
function ColorPickerFrame.func()
|
||||
|
||||
Reference in New Issue
Block a user