diff --git a/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua b/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua index 671caea..3c071d2 100644 --- a/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua +++ b/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua @@ -19,7 +19,7 @@ local INVERTED_ALPHA = (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE) Support functions -------------------------------------------------------------------------------]] local function ColorCallback(self, r, g, b, a, isAlpha) - if INVERTED_ALPHA then + if INVERTED_ALPHA and a then a = 1 - a end if not self.HasAlpha then