WoWInterface SVN PhanxConfigWidgets

Compare Revisions

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

Rev 106 → Rev 108

PhanxConfig-ColorPicker.lua
63,9 → 63,10
self.swatch:SetVertexColor(r, g, b, a)
self.bg:SetAlpha(a)
 
if self.OnValueChanged then
local handler = self.ApplyValue or self.OnValueChanged
if handler then
-- Ignore updates while ColorPickerFrame:IsShown() if desired.
self:OnValueChanged(r, g, b, a)
handler(self, r, g, b, a)
else
-- Deprecated!!!
if self.OnColorChanged then