WoWInterface SVN Snoopy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

Snoopy/Snoopy.toc
3,6 → 3,6
## Notes: Easy and lite inspecting
## Author: TotalPackage
## X-Category: Interface Enhancements
## Version: 3.0.001
## Version: 3.0.002
 
core.lua
Snoopy/core.lua
5,7 → 5,6
local CheckInteractDistance, GetInventoryItemLink = CheckInteractDistance, GetInventoryItemLink
local UnitExists, UnitIsPlayer, UnitCanAttack = UnitExists, UnitIsPlayer, UnitCanAttack
local oInspectPaperDollFrame_OnShow, oInspectPaperDollItemSlotButton_Update
local WOW3 = UnitAura and true
 
local cache = { }
local elap, schedule, text = 0, 0.25, nil
71,8 → 70,6
 
InspectFrame_OnEvent = function(self, ev, a1)
if not InspectFrame:IsShown() then return end
ev = WOW3 and ev or self
a1 = WOW3 and a1 or arg1
local unit = InspectFrame.unit
if ((ev == "PLAYER_TARGET_CHANGED" and unit == "target") or (ev == "PARTY_MEMBERS_CHANGED" and unit ~= "target")) and UnitExists(unit) then
UpdateUnit(unit)
107,7 → 104,7
else -- empty slot
GameTooltip:SetText((self.checkRelic and UnitHasRelicSlot(unit) and _G.RELICSLOT) or _G[strupper(name)])
end
CursorUpdate()
CursorUpdate(self)
end
 
oInspectPaperDollFrame_OnShow = InspectPaperDollFrame_OnShow
Snoopy Property changes : Added: tsvn:logtemplate + Snoopy: -