WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/PhanxConfig-Checkbox
    from Rev 157 to Rev 162
    Reverse comparison

Rev 157 → Rev 162

PhanxConfig-Checkbox.lua
30,9 → 30,7
function scripts:OnEnter()
if self.tooltipText then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip:AddLine(self.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(self.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:Show()
end
end
102,6 → 100,7
check:SetMotionScriptsWhileDisabled(true)
for name, func in pairs(scripts) do
check:SetScript(name, func)
check[name] = func
end
for name, func in pairs(methods) do
check[name] = func