/
UpdateTitleText(unit) |
end |
end |
InspectFrame:SetScript("OnEvent", InspectFrame_OnEvent) |
oInspectPaperDollItemSlotButton_Update = InspectPaperDollItemSlotButton_Update |
InspectPaperDollItemSlotButton_Update = function(self, ...) |
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 |
if not UnitIsPlayer(InspectFrame.unit) then return end |
oInspectPaperDollFrame_OnShow(...) |
end |
InspectPaperDollFrame:SetScript("OnShow", InspectPaperDollFrame_OnShow) |
InspectNameText:SetWidth(330) |
InspectTitleText:Show() |
## 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 |