WoWInterface SVN Snoopy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 10 to Rev 11
    Reverse comparison

Rev 10 → Rev 11

Snoopy/Snoopy.toc
3,6 → 3,9
## Notes: Easy inspecting
## Author: TotalPackage
## X-Category: Interface Enhancements
## Version: 3.0.005
## Version: 3.0.006
 
## LoadManagers: AddonLoader
## X-LoadOn-Always: delayed
 
core.lua
Snoopy/core.lua
105,6 → 105,7
UpdateTitleText(unit)
end
end
InspectFrame:SetScript("OnEvent", InspectFrame_OnEvent)
 
oInspectPaperDollItemSlotButton_Update = InspectPaperDollItemSlotButton_Update
InspectPaperDollItemSlotButton_Update = function(self, ...)
158,6 → 159,7
for _, frame in ipairs({ InspectPaperDollFrame:GetChildren() }) do
if frame:GetFrameType() == "Button" and strmatch(frame:GetName(), "Inspect(.+)Slot") then
frame:SetScript("OnClick", onclick)
frame:SetScript("OnEnter", InspectPaperDollItemSlotButton_OnEnter)
end
end
 
166,6 → 168,7
if not UnitIsPlayer(InspectFrame.unit) then return end
oInspectPaperDollFrame_OnShow(...)
end
InspectPaperDollFrame:SetScript("OnShow", InspectPaperDollFrame_OnShow)
 
InspectNameText:SetWidth(330)
InspectTitleText:Show()