WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/PhanxConfig-ColorPicker
    from Rev 172 to Rev 176
    Reverse comparison

Rev 172 → Rev 176

PhanxConfig-ColorPicker.lua
63,9 → 63,11
self.swatch:SetVertexColor(r, g, b, a)
self.bg:SetAlpha(a)
 
if self.Callback then
 
local callback = self.Callback or self.OnValueChanged
if callback then
-- Ignore updates while ColorPickerFrame:IsShown() if desired.
self:Callback(r, g, b, a)
callback(self, r, g, b, a)
end
end